diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-12 17:33:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-12 17:33:51 +0300 |
commit | 37969cb5a1892a05abc84f087213c9903c2c654e (patch) | |
tree | 52835ded960d26e227a5ec3f7690c092a6b8a2d5 /src/actormanager.cpp | |
parent | c98d192af4daa48a4c27cfa3225e22e89f329525 (diff) | |
download | mv-37969cb5a1892a05abc84f087213c9903c2c654e.tar.gz mv-37969cb5a1892a05abc84f087213c9903c2c654e.tar.bz2 mv-37969cb5a1892a05abc84f087213c9903c2c654e.tar.xz mv-37969cb5a1892a05abc84f087213c9903c2c654e.zip |
Fix code style.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index d851864a3..7755edbc3 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -1610,8 +1610,11 @@ void ActorManager::getMobNames(StringVect &names) const } const Being *const being = static_cast<const Being*>(*it); - if (being->getType() == ActorType::Monster && !being->getName().empty()) + if (being->getType() == ActorType::Monster && + !being->getName().empty()) + { names.push_back(being->getName()); + } } } |