diff options
author | Spp <none@none> | 2010-04-07 23:56:35 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 23:56:35 +0200 |
commit | 46f0674e237dd8fe97ba4f0769e18b4adfce841b (patch) | |
tree | 4556d27751077c2ed37a445493ed93a4d08e981b /src/game/DBCStructure.h | |
parent | 2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (diff) |
Code Style (game + scripts only):
">=" --> " >= " (when needed)
" >=" --> " >="
">= " --> ">= "
"<=" --> " <= " (when needed)
" <=" --> " <="
"<= " --> "<= "
" ==" --> " =="
"== " --> "== "
--HG--
branch : trunk
Diffstat (limited to 'src/game/DBCStructure.h')
-rw-r--r-- | src/game/DBCStructure.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/DBCStructure.h b/src/game/DBCStructure.h index 8c38c9ca3a3..78867d593e3 100644 --- a/src/game/DBCStructure.h +++ b/src/game/DBCStructure.h @@ -840,7 +840,7 @@ struct FactionTemplateEntry if (entry.faction) { for (int i = 0; i < 4; ++i) - if (enemyFaction[i] == entry.faction) + if (enemyFaction[i] == entry.faction) return false; for (int i = 0; i < 4; ++i) if (friendFaction[i] == entry.faction) @@ -855,7 +855,7 @@ struct FactionTemplateEntry if (entry.faction) { for (int i = 0; i < 4; ++i) - if (enemyFaction[i] == entry.faction) + if (enemyFaction[i] == entry.faction) return true; for (int i = 0; i < 4; ++i) if (friendFaction[i] == entry.faction) @@ -1593,7 +1593,7 @@ struct SpellShapeshiftEntry //char* Name[16]; // 2-17 unused //uint32 NameFlags; // 18 unused uint32 flags1; // 19 - int32 creatureType; // 20 <=0 humanoid, other normal creature types + int32 creatureType; // 20 <= 0 humanoid, other normal creature types //uint32 unk1; // 21 unused uint32 attackSpeed; // 22 //uint32 modelID; // 23 unused, alliance modelid (where horde case?) |