Skip to content

Commit

Permalink
Addendum to 2c6058d: Add missing cases
Browse files Browse the repository at this point in the history
Were missing because of a faulty merge a long time ago
  • Loading branch information
patrikjuvonen committed Apr 10, 2023
1 parent ada63d1 commit 8214149
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Client/mods/deathmatch/logic/CClientVehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3524,6 +3524,7 @@ void CClientVehicle::GetInitialDoorStates(SFixedArray<unsigned char, MAX_DOORS>&
case VT_RCTIGER:
case VT_TRACTOR:
case VT_VORTEX:
case VT_BLOODRA:
memset(&ucOutDoorStates[0], DT_DOOR_MISSING, MAX_DOORS);

// Keep the bonet and boot intact
Expand Down
1 change: 1 addition & 0 deletions Server/mods/deathmatch/logic/CVehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,7 @@ void CVehicle::GetInitialDoorStates(SFixedArray<unsigned char, MAX_DOORS>& ucOut
case VT_RCTIGER:
case VT_TRACTOR:
case VT_VORTEX:
case VT_BLOODRA:
memset(&ucOutDoorStates[0], DT_DOOR_MISSING, MAX_DOORS);

// Keep the bonet and boot intact
Expand Down

0 comments on commit 8214149

Please sign in to comment.