diff options
author | Spp <none@none> | 2010-04-07 19:14:10 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 19:14:10 +0200 |
commit | d19e12708001fbef2308be0e8cb5375a2ac7af48 (patch) | |
tree | 09fc8f67a6197802e0512950f0b0a3438a9834e8 /src/game/Chat.cpp | |
parent | 2e127f7a30706dc1d40c65de22ff02851732da24 (diff) |
Code style (game + scripts only):
"if(" --> "if ("
--HG--
branch : trunk
Diffstat (limited to 'src/game/Chat.cpp')
-rw-r--r-- | src/game/Chat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index 207306efb5f..a5ca1191bf8 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -1320,11 +1320,11 @@ valid examples: negativeNumber = false; while ((c = reader.get())!=':') { - if(c >='0' && c<='9') + if (c >='0' && c<='9') { propertyId*=10; propertyId += c-'0'; - } else if(c == '-') + } else if (c == '-') negativeNumber = true; else return false; @@ -1339,7 +1339,7 @@ valid examples: if (!itemProperty) return false; } - else if(propertyId < 0) + else if (propertyId < 0) { itemSuffix = sItemRandomSuffixStore.LookupEntry(-propertyId); if (!itemSuffix) |