aboutsummaryrefslogtreecommitdiffstats
path: root/src/control/Script9.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/control/Script9.cpp')
-rw-r--r--src/control/Script9.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/control/Script9.cpp b/src/control/Script9.cpp
index aaef8b6f..f5b964ad 100644
--- a/src/control/Script9.cpp
+++ b/src/control/Script9.cpp
@@ -13,6 +13,7 @@
#include "Hud.h"
#include "Messages.h"
#include "Object.h"
+#include "OnscreenTimer.h"
#include "Pad.h"
#include "Ped.h"
#include "Pools.h"
@@ -617,11 +618,11 @@ int8 CRunningScript::ProcessCommands1500To1599(int32 command)
return 0;
case COMMAND_SET_ONSCREEN_TIMER_COLOUR:
CollectParameters(&m_nIp, 4);
- // gbColour = CRGBA(GET_INTEGER_PARAM(0), GET_INTEGER_PARAM(1), GET_INTEGER_PARAM(2), GET_INTEGER_PARAM(3));
+ gbColour = CRGBA(GET_INTEGER_PARAM(0), GET_INTEGER_PARAM(1), GET_INTEGER_PARAM(2), GET_INTEGER_PARAM(3));
return 0;
case COMMAND_SET_ONSCREEN_TIMER_BACKGROUND_COLOUR:
CollectParameters(&m_nIp, 4);
- // gbColour2 = CRGBA(GET_INTEGER_PARAM(0), GET_INTEGER_PARAM(1), GET_INTEGER_PARAM(2), GET_INTEGER_PARAM(3));
+ gbColour2 = CRGBA(GET_INTEGER_PARAM(0), GET_INTEGER_PARAM(1), GET_INTEGER_PARAM(2), GET_INTEGER_PARAM(3));
return 0;
case COMMAND_REMOVE_CAR_BOOT:
{