diff options
author | Spp <none@none> | 2010-04-07 19:14:10 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 19:14:10 +0200 |
commit | d19e12708001fbef2308be0e8cb5375a2ac7af48 (patch) | |
tree | 09fc8f67a6197802e0512950f0b0a3438a9834e8 /src/game/GlobalEvents.cpp | |
parent | 2e127f7a30706dc1d40c65de22ff02851732da24 (diff) |
Code style (game + scripts only):
"if(" --> "if ("
--HG--
branch : trunk
Diffstat (limited to 'src/game/GlobalEvents.cpp')
-rw-r--r-- | src/game/GlobalEvents.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/GlobalEvents.cpp b/src/game/GlobalEvents.cpp index defdd96f1f9..9f72e96936c 100644 --- a/src/game/GlobalEvents.cpp +++ b/src/game/GlobalEvents.cpp @@ -34,7 +34,7 @@ static void CorpsesEraseCallBack(QueryResult_AutoPtr result, bool bones) { - if(!result) + if (!result) return; do @@ -51,9 +51,9 @@ static void CorpsesEraseCallBack(QueryResult_AutoPtr result, bool bones) sLog.outDebug("[Global event] Removing %s %u (X:%f Y:%f Map:%u).",(bones?"bones":"corpse"),guidlow,positionX,positionY,mapid); /// Resurrectable - convert corpses to bones - if(!bones) + if (!bones) { - if(!ObjectAccessor::Instance().ConvertCorpseForPlayer(player_guid)) + if (!ObjectAccessor::Instance().ConvertCorpseForPlayer(player_guid)) { sLog.outDebug("Corpse %u not found in world or bones creating forbidden. Delete from DB.",guidlow); CharacterDatabase.PExecute("DELETE FROM corpse WHERE guid = '%u'",guidlow); |