aboutsummaryrefslogtreecommitdiff
path: root/src/game/GridDefines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GridDefines.h')
-rw-r--r--src/game/GridDefines.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/GridDefines.h b/src/game/GridDefines.h
index e0f2d72277f..d7a39fa08e7 100644
--- a/src/game/GridDefines.h
+++ b/src/game/GridDefines.h
@@ -89,7 +89,7 @@ struct CoordPair
void operator<<(const uint32 val)
{
- if ( x_coord > val )
+ if (x_coord > val)
x_coord -= val;
else
x_coord = 0;
@@ -97,7 +97,7 @@ struct CoordPair
void operator>>(const uint32 val)
{
- if ( x_coord+val < LIMIT )
+ if (x_coord+val < LIMIT)
x_coord += val;
else
x_coord = LIMIT - 1;
@@ -105,7 +105,7 @@ struct CoordPair
void operator-=(const uint32 val)
{
- if ( y_coord > val )
+ if (y_coord > val)
y_coord -= val;
else
y_coord = 0;
@@ -113,7 +113,7 @@ struct CoordPair
void operator+=(const uint32 val)
{
- if ( y_coord+val < LIMIT )
+ if (y_coord+val < LIMIT)
y_coord += val;
else
y_coord = LIMIT - 1;