aboutsummaryrefslogtreecommitdiff
path: root/src/game/Cell.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Cell.h')
-rw-r--r--src/game/Cell.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/Cell.h b/src/game/Cell.h
index 78b12f1bf35..23d5f56c417 100644
--- a/src/game/Cell.h
+++ b/src/game/Cell.h
@@ -79,29 +79,29 @@ struct Cell
Compute(x, y);
cell.Compute(old_x, old_y);
- if( std::abs(int(x-old_x)) > 1 || std::abs(int(y-old_y)) > 1)
+ if ( std::abs(int(x-old_x)) > 1 || std::abs(int(y-old_y)) > 1)
{
data.Part.reserved = ALL_DISTRICT;
cell.data.Part.reserved = ALL_DISTRICT;
return;
}
- if( x < old_x )
+ if ( x < old_x )
{
data.Part.reserved |= LEFT_DISTRICT;
cell.data.Part.reserved |= RIGHT_DISTRICT;
}
- else if( old_x < x )
+ else if ( old_x < x )
{
data.Part.reserved |= RIGHT_DISTRICT;
cell.data.Part.reserved |= LEFT_DISTRICT;
}
- if( y < old_y )
+ if ( y < old_y )
{
data.Part.reserved |= UPPER_DISTRICT;
cell.data.Part.reserved |= LOWER_DISTRICT;
}
- else if( old_y < y )
+ else if ( old_y < y )
{
data.Part.reserved |= LOWER_DISTRICT;
cell.data.Part.reserved |= UPPER_DISTRICT;