From 43d268e1420ccfba634a190918d5b3afd855ba0b Mon Sep 17 00:00:00 2001 From: dongresource Date: Sat, 26 Sep 2020 16:45:32 +0200 Subject: [PATCH] Enough with the plungers already. At least from killed mobs. --- src/MobManager.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/MobManager.cpp b/src/MobManager.cpp index 4f50378..49f68ef 100644 --- a/src/MobManager.cpp +++ b/src/MobManager.cpp @@ -140,8 +140,13 @@ void MobManager::giveReward(CNSocket *sock) { reward->iFatigue_Level = 1; reward->iItemCnt = 1; // remember to update resplen if you change this +#if 0 int slot = ItemManager::findFreeSlot(plr); if (slot == -1) { +#else + int slot = -1; + if (true) { +#endif // no room for an item, but you still get FM and taros reward->iItemCnt = 0; sock->sendPacket((void*)respbuf, P_FE2CL_REP_REWARD_ITEM, sizeof(sP_FE2CL_REP_REWARD_ITEM));