diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-03 22:10:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-03 22:10:59 +0300 |
commit | 6a0345c70155f9ff00e52f8952c1e79f61e0d445 (patch) | |
tree | 80d7fc2390c2a0103b10c508c317b5c9b40f2248 /src/actormanager.cpp | |
parent | abeecf1255d28a7870aef9f70dc3353d9b5f4f2d (diff) | |
download | manaplus-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.cpp | 5 |
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: |