mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-10-18 11:30:40 +00:00
Hotfix to stop crashing the server.
This will need to be fixed properly; probably while we implement chunking.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user