mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-12-23 11:50:04 +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...
|
||||
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 {
|
||||
if (plr->RemainingNPCCount[i][j] > 0) {
|
||||
plr->RemainingNPCCount[i][j]--;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user