mirror of
https://github.com/mangosfour/server.git
synced 2025-12-29 16:37:04 +00:00
[12656m] Updated some enums and structures. Thanks R2/TC
This commit is contained in:
parent
c8194124df
commit
93a3a9214b
10 changed files with 120 additions and 27 deletions
|
|
@ -539,8 +539,8 @@ bool VehicleInfo::IsUsableSeatForPlayer(uint32 seatFlags, uint32 seatFlagsB) con
|
|||
return seatFlags & SEAT_FLAG_CAN_EXIT ||
|
||||
seatFlags & SEAT_FLAG_UNCONTROLLED ||
|
||||
seatFlagsB &
|
||||
(SEAT_FLAG_B_USABLE_FORCED | SEAT_FLAG_B_USABLE_FORCED_2 |
|
||||
SEAT_FLAG_B_USABLE_FORCED_3 | SEAT_FLAG_B_USABLE_FORCED_4);
|
||||
(VEHICLE_SEAT_FLAG_B_USABLE_FORCED | VEHICLE_SEAT_FLAG_B_USABLE_FORCED_2 |
|
||||
VEHICLE_SEAT_FLAG_B_USABLE_FORCED_3 | VEHICLE_SEAT_FLAG_B_USABLE_FORCED_4);
|
||||
}
|
||||
|
||||
/// Add control and such modifiers to a passenger if required
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue