mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 21:40:05 +00:00
fixed comments formating, added zeroing out player->toRemoveVehicle after removing vehicle
This commit is contained in:
parent
016c48645e
commit
7bcdc111da
@ -798,4 +798,7 @@ void ItemManager::checkItemExpire(CNSocket* sock, Player* player) {
|
|||||||
memset(&player->Equip[8], 0, sizeof(sItemBase));
|
memset(&player->Equip[8], 0, sizeof(sItemBase));
|
||||||
else
|
else
|
||||||
memset(&player->Inven[player->toRemoveVehicle.iSlotNum], 0, sizeof(sItemBase));
|
memset(&player->Inven[player->toRemoveVehicle.iSlotNum], 0, sizeof(sItemBase));
|
||||||
|
|
||||||
|
player->toRemoveVehicle.eIL = 0;
|
||||||
|
player->toRemoveVehicle.iSlotNum = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user