diff options
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 44e8e7cb7..bef691a71 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -277,7 +277,10 @@ Being *ActorManager::createBeing(const BeingId id, const ActorTypeT type, const BeingTypeId subtype) { - Being *const being = new Being(id, type, subtype, mMap); + Being *const being = Being::createBeing(id, + type, + subtype, + mMap); mActors.insert(being); |