Code style (game + scripts only):

"while(" --> "while ("

--HG--
branch : trunk
This commit is contained in:
Spp
2010-04-07 19:13:19 +02:00
parent 182e9a20b1
commit 2e127f7a30
74 changed files with 230 additions and 230 deletions

View File

@@ -58,7 +58,7 @@ Group::~Group()
else sLog.outError("Group::~Group: battleground group is not linked to the correct battleground.");
}
Rolls::iterator itr;
while(!RollId.empty())
while (!RollId.empty())
{
itr = RollId.begin();
Roll *r = *itr;
@@ -175,7 +175,7 @@ bool Group::LoadGroupFromDB(const uint64 &leaderGuid, QueryResult_AutoPtr result
do
{
LoadMemberFromDB((*result)[0].GetUInt32(), (*result)[1].GetUInt8(), (*result)[2].GetUInt8());
} while( result->NextRow() );
} while ( result->NextRow() );
// group too small
if(GetMembersCount() < 2)
return false;