summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-03 22:10:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-03 22:10:59 +0300
commit6a0345c70155f9ff00e52f8952c1e79f61e0d445 (patch)
tree80d7fc2390c2a0103b10c508c317b5c9b40f2248 /src/actormanager.cpp
parentabeecf1255d28a7870aef9f70dc3353d9b5f4f2d (diff)
downloadmanaplus-6a0345c70155f9ff00e52f8952c1e79f61e0d445.tar.gz
manaplus-6a0345c70155f9ff00e52f8952c1e79f61e0d445.tar.bz2
manaplus-6a0345c70155f9ff00e52f8952c1e79f61e0d445.tar.xz
manaplus-6a0345c70155f9ff00e52f8952c1e79f61e0d445.zip
Add support for elemental db and draw elementals sprites.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index b557f3e36..59bfb9708 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -301,8 +301,11 @@ Being *ActorManager::createBeing(const BeingId id,
beingHandler->requestNameById(id);
}
break;
- case ActorType::SkillUnit:
case ActorType::Elemental:
+ if (beingHandler)
+ beingHandler->requestNameById(id);
+ break;
+ case ActorType::SkillUnit:
break;
default:
case ActorType::FloorItem: