From d19e12708001fbef2308be0e8cb5375a2ac7af48 Mon Sep 17 00:00:00 2001 From: Spp Date: Wed, 7 Apr 2010 19:14:10 +0200 Subject: Code style (game + scripts only): "if(" --> "if (" --HG-- branch : trunk --- src/game/Chat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/Chat.cpp') 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) -- cgit v1.2.3