Code style (game + scripts only):
"( " --> "("
" )" --> ")"
--HG--
branch : trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user