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

@@ -62,7 +62,7 @@ Map::~Map()
{
UnloadAll();
while(!i_worldObjects.empty())
while (!i_worldObjects.empty())
{
WorldObject *obj = *i_worldObjects.begin();
assert(obj->m_isWorldObject);
@@ -2240,7 +2240,7 @@ void Map::AddObjectToSwitchList(WorldObject *obj, bool on)
void Map::RemoveAllObjectsInRemoveList()
{
while(!i_objectsToSwitch.empty())
while (!i_objectsToSwitch.empty())
{
std::map<WorldObject*, bool>::iterator itr = i_objectsToSwitch.begin();
WorldObject *obj = itr->first;
@@ -2257,7 +2257,7 @@ void Map::RemoveAllObjectsInRemoveList()
}
//sLog.outDebug("Object remover 1 check.");
while(!i_objectsToRemove.empty())
while (!i_objectsToRemove.empty())
{
std::set<WorldObject*>::iterator itr = i_objectsToRemove.begin();
WorldObject* obj = *itr;