summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-16 10:13:33 +0000
committerrubidium <rubidium@openttd.org>2009-07-16 10:13:33 +0000
commit594070194f62cd336ff25b51dd603d24f1368d17 (patch)
treedb5d74eb50fd21f249a9731efa64dba91e45e711 /src/newgrf.cpp
parentfd589b90e8ab795a2bc9190309dce6cae917976c (diff)
downloadopenttd-594070194f62cd336ff25b51dd603d24f1368d17.tar.xz
(svn r16842) -Cleanup: add some spaces around a few operators
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index fa56cfe8e..bd3712b58 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -118,7 +118,7 @@ struct GRFLocation {
return this->grfid < other.grfid || (this->grfid == other.grfid && this->nfoline < other.nfoline);
}
- bool operator==(const GRFLocation &other) const
+ bool operator == (const GRFLocation &other) const
{
return this->grfid == other.grfid && this->nfoline == other.nfoline;
}
@@ -2272,7 +2272,7 @@ static ChangeInfoResult IndustriesChangeInfo(uint indid, int numinfo, int prop,
if (itt[k].ti.x == 0 && itt[k].ti.y == 0x80) {
/* Not the same terminator. The one we are using is rather
- x= -80, y = x . So, adjust it. */
+ x = -80, y = x . So, adjust it. */
itt[k].ti.x = -0x80;
itt[k].ti.y = 0;
itt[k].gfx = 0;
@@ -4437,7 +4437,7 @@ static uint32 GetPatchVariable(uint8 param)
byte max_edge = max(log_X, log_Y);
if (log_X == log_Y) { // we have a squared map, since both edges are identical
- SetBit(map_bits ,0);
+ SetBit(map_bits, 0);
} else {
if (max_edge == log_Y) SetBit(map_bits, 1); // edge Y been the biggest, mark it
}