diff options
Diffstat (limited to '')
-rw-r--r-- | src/control/Script.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index b6729486..6e0923d7 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -9729,7 +9729,15 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command) case COMMAND_IS_MODEL_AVAILABLE: case COMMAND_SHUT_CHAR_UP: case COMMAND_SET_ENABLE_RC_DETONATE: + assert(0); case COMMAND_SET_CAR_RANDOM_ROUTE_SEED: + { + CollectParameters(&m_nIp, 2); + CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]); + assert(pVehicle); + pVehicle->m_nRouteSeed = ScriptParams[1]; + return 0; + } case COMMAND_IS_ANY_PICKUP_AT_COORDS: case COMMAND_GET_FIRST_PICKUP_COORDS: case COMMAND_GET_NEXT_PICKUP_COORDS: |