diff options
author | Spp <none@none> | 2010-04-19 17:03:10 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-19 17:03:10 +0200 |
commit | be01821050dd30ff65e89b347d528efb20aba028 (patch) | |
tree | 6d33e686bf1c5d664a7104a208a4e057c6337b1e /src/game/Map.cpp | |
parent | f74e969a069646eca6227bdede974223c07e9c94 (diff) |
More warning removal (Some code modifications and cleanup when needed)
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
-rw-r--r-- | src/game/Map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp index f069d2d6fe4..2f73fb2ca16 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -2628,7 +2628,7 @@ void InstanceMap::CreateInstanceData(bool load) { Field* fields = result->Fetch(); const char* data = fields[0].GetString(); - if (data && data != "") + if (data && (strncmp(data, "", 1) == 0)) { sLog.outDebug("Loading instance data for `%s` with id %u", objmgr.GetScriptName(i_script_id), i_InstanceId); i_data->Load(data); |