From 46f0674e237dd8fe97ba4f0769e18b4adfce841b Mon Sep 17 00:00:00 2001 From: Spp Date: Wed, 7 Apr 2010 23:56:35 +0200 Subject: Code Style (game + scripts only): ">=" --> " >= " (when needed) " >=" --> " >=" ">= " --> ">= " "<=" --> " <= " (when needed) " <=" --> " <=" "<= " --> "<= " " ==" --> " ==" "== " --> "== " --HG-- branch : trunk --- src/game/Map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/Map.cpp') 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::Find(step.ownerGUID); if (player) -- cgit v1.2.3