summaryrefslogtreecommitdiff
path: root/src/actorspritemanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-08 01:19:49 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-08 01:19:49 +0300
commit10d3b05b00e913ee2e396facdb8d2ed2177efb53 (patch)
tree13fba88aa929ff536ab3acb0d31d32a148ad2bf9 /src/actorspritemanager.cpp
parentf0f4b00290c3ae4b2b80bdef22d4ac56a863d35a (diff)
downloadManaVerse-10d3b05b00e913ee2e396facdb8d2ed2177efb53.tar.gz
ManaVerse-10d3b05b00e913ee2e396facdb8d2ed2177efb53.tar.bz2
ManaVerse-10d3b05b00e913ee2e396facdb8d2ed2177efb53.tar.xz
ManaVerse-10d3b05b00e913ee2e396facdb8d2ed2177efb53.zip
Fix code style.
Diffstat (limited to 'src/actorspritemanager.cpp')
-rw-r--r--src/actorspritemanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp
index edd1db2aa..1104f034a 100644
--- a/src/actorspritemanager.cpp
+++ b/src/actorspritemanager.cpp
@@ -705,7 +705,8 @@ Being *ActorSpriteManager::findNearestLivingBeing(Being *aroundBeing,
beingSorter.priorityBeings = &priorityMobsMap;
if (ignoreAttackMobs.find("") != ignoreAttackMobs.end())
ignoreDefault = true;
- std::map<std::string, int>::const_iterator itr = attackMobsMap.find("");
+ std::map<std::string, int>::const_iterator
+ itr = attackMobsMap.find("");
if (itr != attackMobsMap.end())
defaultAttackIndex = (*itr).second;
itr = priorityMobsMap.find("");
@@ -1323,7 +1324,8 @@ void ActorSpriteManager::rebuildAttackMobs()
int ActorSpriteManager::getPriorityAttackMobIndex(std::string name)
{
- std::map<std::string, int>::const_iterator i = mPriorityAttackMobsMap.find(name);
+ std::map<std::string, int>::const_iterator
+ i = mPriorityAttackMobsMap.find(name);
if (i == mPriorityAttackMobsMap.end())
return -1;