summaryrefslogtreecommitdiffstats
path: root/src/control/Script9.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-25 23:34:31 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-25 23:34:31 +0200
commit9187873396500555041325ac0baf40c14488c765 (patch)
tree704084e38a68d9fa783c65cba29778a9b9c7031e /src/control/Script9.cpp
parentfix (diff)
downloadre3-9187873396500555041325ac0baf40c14488c765.tar
re3-9187873396500555041325ac0baf40c14488c765.tar.gz
re3-9187873396500555041325ac0baf40c14488c765.tar.bz2
re3-9187873396500555041325ac0baf40c14488c765.tar.lz
re3-9187873396500555041325ac0baf40c14488c765.tar.xz
re3-9187873396500555041325ac0baf40c14488c765.tar.zst
re3-9187873396500555041325ac0baf40c14488c765.zip
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:
{