mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 13:30:06 +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));
|
||||
else
|
||||
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