message: added sanity check for killing mission mobs
diff: @@ -328,8 +328,14 @@ void MissionManager::mobKilled(CNSocket *sock, int mobid) {
  if (task["m_iCSUNumToKill"][j] != 0)
  {
  missionmob = true;
  + //sanity check
  + if (plr->RemainingNPCCount[i][j] == 0) {
  + std::cout << "[WARN] RemainingNPCCount tries to go below 0?!" << std::endl;
  + }
  + else {
  plr->RemainingNPCCount[i][j]--;
  }
  + }
  // drop quest item
  if (task["m_iCSUItemNumNeeded"][j] != 0 && !isQuestItemFull(sock, task["m_iCSUItemID"][j], task["m_iCSUItemNumNeeded"][j]) ) {
  bool drop = rand() % 100 < task["m_iSTItemDropRate"][j];
  