From 6a0345c70155f9ff00e52f8952c1e79f61e0d445 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Aug 2016 22:10:59 +0300 Subject: Add support for elemental db and draw elementals sprites. --- src/actormanager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/actormanager.cpp') 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: -- cgit v1.2.3-70-g09d2