mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 21:40:05 +00:00
Remove bad warning for multikills
This commit is contained in:
parent
e7301f46ef
commit
717e5eb78f
@ -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]--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user