diff options
-rw-r--r-- | src/being.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp index 2ff96c81..5583b8c2 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -864,7 +864,10 @@ void Being::logic() if (!isAlive() && Net::getGameHandler()->removeDeadBeings() && (int) ((get_elapsed_time(mActionTime) / getWalkSpeed().x) >= frameCount)) - actorSpriteManager->destroy(this); + { + if (getType() != PLAYER) + actorSpriteManager->destroy(this); + } } void Being::drawEmotion(Graphics *graphics, int offsetX, int offsetY) |