From d19e12708001fbef2308be0e8cb5375a2ac7af48 Mon Sep 17 00:00:00 2001 From: Spp Date: Wed, 7 Apr 2010 19:14:10 +0200 Subject: Code style (game + scripts only): "if(" --> "if (" --HG-- branch : trunk --- src/game/InstanceData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/InstanceData.cpp') diff --git a/src/game/InstanceData.cpp b/src/game/InstanceData.cpp index 2da09cbea04..5aacf436159 100644 --- a/src/game/InstanceData.cpp +++ b/src/game/InstanceData.cpp @@ -203,7 +203,7 @@ bool InstanceData::SetBossState(uint32 id, EncounterState state) if (state == DONE) for (MinionSet::iterator i = bossInfo->minion.begin(); i != bossInfo->minion.end(); ++i) - if((*i)->isWorldBoss() && (*i)->isAlive()) + if ((*i)->isWorldBoss() && (*i)->isAlive()) return false; bossInfo->state = state; @@ -224,7 +224,7 @@ bool InstanceData::SetBossState(uint32 id, EncounterState state) std::string InstanceData::LoadBossState(const char * data) { - if(!data) + if (!data) return NULL; std::istringstream loadStream(data); uint32 buff; -- cgit v1.2.3