mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 09:48:15 +08:00
More bike leftovers
This commit is contained in:
1 parent
7eb96d5373
commit
9c2f1b0833
2 files changed
+22
-2
No files matched your search
@@ -3,6 +3,7 @@
|
||||
#include "Script.h"
|
||||
#include "ScriptCommands.h"
|
||||
|
||||
#include "Bike.h"
|
||||
#include "CarCtrl.h"
|
||||
#include "Cranes.h"
|
||||
#include "Credits.h"
|
||||
@@ -415,8 +416,7 @@ int8 CRunningScript::ProcessCommands1000To1099(int32 command)
|
||||
((CAutomobile*)pVehicle)->m_fTraction = fTraction;
|
||||
else
|
||||
// this is certainly not a boat, trane, heli or plane field
|
||||
//((CBike*)pVehicle)->m_fTraction = fTraction;
|
||||
*(float*)(((char*)pVehicle) + 1088) = fTraction;
|
||||
((CBike*)pVehicle)->m_fTraction = fTraction;
|
||||
return 0;
|
||||
}
|
||||
case COMMAND_ARE_MEASUREMENTS_IN_METRES:
|
||||
|
||||
Reference in new issue
Block a user