Skip to content

Commit

Permalink
docs: correct actual date the file was created
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterLaplace committed Nov 17, 2024
1 parent 5a9280b commit ce444ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* https://opensource.org/licenses/MIT
* © 2023 @MasterLaplace
* @version 0.4.0
* @date 2024-01-06
* @date 2024-11-11
**************************************************************************/

#ifndef FLAKKARI_COMPONENTS3D_HPP_
Expand Down
4 changes: 2 additions & 2 deletions Flakkari/Engine/EntityComponentSystem/Systems/Systems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ void handle_collisions(Registry &r)
if (!pos2.has_value() || !tag2.has_value())
continue;

if ((tag1->tag == "Player" && tag2->tag == "Enemy") ||
(tag2->tag == "Player" && tag1->tag == "Enemy") && (scol1.has_value() && scol2.has_value()))
if (((tag1->tag == "Player" && tag2->tag == "Enemy") || (tag2->tag == "Player" && tag1->tag == "Enemy")) &&
scol1.has_value() && scol2.has_value())
{
if (SphereCollisions(pos1.value(), scol1.value(), pos2.value(), scol2.value()))
{
Expand Down

0 comments on commit ce444ac

Please sign in to comment.