Core/Calendar: Send map raid reset only once

Also some minor changes here and there
This commit is contained in:
Spp committed 2011-10-18 14:23:08 +02:00
1 parent bc023c6dfb
commit b5e8a192b1
4 files changed
+45 -40

No files matched your search

@@ -384,7 +384,7 @@ bool OPvPCapturePointNA::HandleCustomSpell(Player* player, uint32 spellId, GameO
int32 count = 10;
uint32 itemid = 24538;
// bomb id count
uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, itemid, count, &noSpaceForCount);
InventoryResult msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, itemid, count, &noSpaceForCount);
if (msg != EQUIP_ERR_OK) // convert to possible store amount
count -= noSpaceForCount;