Hotfix to stop crashing the server.

This will need to be fixed properly; probably while we implement
chunking.
This commit is contained in:
2020-09-17 21:22:31 +02:00
parent e79f179628
commit 001564a257
3 changed files with 14 additions and 9 deletions

View File

@@ -59,8 +59,6 @@ void MobManager::pcAttackNpcs(CNSocket *sock, CNPacketData *data) {
mob->appearanceData.iHP -= 100;
std::cout << "mob health is now " << mob->appearanceData.iHP << std::endl;
if (mob->appearanceData.iHP <= 0)
killMob(sock, mob);