fixed comments formating, added zeroing out player->toRemoveVehicle after removing vehicle

This commit is contained in:
kamilprzyb
2020-09-23 11:21:32 +02:00
parent 016c48645e
commit 7bcdc111da
5 changed files with 13 additions and 10 deletions

View File

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