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/Map.cpp | |
parent | 2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (diff) |
Code Style (game + scripts only):
">=" --> " >= " (when needed)
" >=" --> " >="
">= " --> ">= "
"<=" --> " <= " (when needed)
" <=" --> " <="
"<= " --> "<= "
" ==" --> " =="
"== " --> "== "
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
-rw-r--r-- | src/game/Map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp index 7889b61e749..d74a8d1d664 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -1207,7 +1207,7 @@ bool GridMap::loadData(char *filename) if (!in) return true; fread(&header, sizeof(header),1,in); - if (header.mapMagic == uint32(MAP_MAGIC) && + if (header.mapMagic == uint32(MAP_MAGIC) && header.versionMagic == uint32(MAP_VERSION_MAGIC)) { // loadup area data @@ -2924,7 +2924,7 @@ void Map::ScriptsProcess() switch(GUID_HIPART(step.sourceGUID)) { case HIGHGUID_ITEM: - // case HIGHGUID_CONTAINER: == HIGHGUID_ITEM + // case HIGHGUID_CONTAINER: == HIGHGUID_ITEM { Player* player = HashMapHolder<Player>::Find(step.ownerGUID); if (player) |