Skip to content

Commit

Permalink
Add const
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Jul 25, 2024
1 parent 4f87961 commit acaf8f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/missiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3190,7 +3190,7 @@ void ProcessLightningWallControl(Missile &missile)

// Defines the current position of the control missile moving towards var3 direction.
// This is used to make sure the opposite side does not create walls where walls have already been created.
Point currentPosition = { missile.var1, missile.var2 };
const Point currentPosition = { missile.var1, missile.var2 };

{
Point position = { missile.var1, missile.var2 };
Expand Down

0 comments on commit acaf8f5

Please sign in to comment.