Remove bad warning for multikills

This commit is contained in:
Gent S 2020-11-25 13:33:12 -05:00
parent e7301f46ef
commit 717e5eb78f

View File

@ -481,10 +481,7 @@ void MissionManager::mobKilled(CNSocket *sock, int mobid) {
// acknowledge killing of mission mob... // acknowledge killing of mission mob...
if (task["m_iCSUNumToKill"][j] != 0) { if (task["m_iCSUNumToKill"][j] != 0) {
missionmob = true; missionmob = true;
// sanity check if (plr->RemainingNPCCount[i][j] > 0) {
if (plr->RemainingNPCCount[i][j] == 0) {
std::cout << "[WARN] RemainingNPCCount tries to go below 0?!" << std::endl;
} else {
plr->RemainingNPCCount[i][j]--; plr->RemainingNPCCount[i][j]--;
} }
} }