Enable GTA_BRIDGE
This commit is contained in:
@ -161,3 +161,23 @@ bool CBridge::ThisIsABridgeObjectMovingUp(int index)
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
void CBridge::ForceBridgeState(uint8 state)
|
||||
{
|
||||
#ifdef GTA_BRIDGE
|
||||
State = state;
|
||||
switch (state)
|
||||
{
|
||||
case STATE_BRIDGE_LOCKED:
|
||||
case STATE_LIFT_PART_MOVING_DOWN:
|
||||
case STATE_LIFT_PART_ABOUT_TO_MOVE_UP:
|
||||
ThePaths.SetLinksBridgeLights(-330.0f, -230.0f, -700.0f, -588.0f, true);
|
||||
break;
|
||||
case STATE_BRIDGE_ALWAYS_UNLOCKED:
|
||||
ThePaths.SetLinksBridgeLights(-330.0f, -230.0f, -700.0f, -588.0f, false);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
}
|
Reference in New Issue
Block a user