summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/control/Script.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 85098cca..bcb6a388 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -59,6 +59,7 @@
#include "RpAnimBlend.h"
#include "Rubbish.h"
#include "SimpleModelInfo.h"
+#include "SetPieces.h"
#include "Shadows.h"
#include "SpecialFX.h"
#include "Sprite.h"
@@ -10900,7 +10901,10 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
case COMMAND_ADD_SET_PIECE:
{
CollectParameters(&m_nIp, 13);
- debug("ADD_SET_PIECE not implemented, skipping\n");
+ CSetPieces::AddOne(ScriptParams[0],
+ *(CVector2D*)&ScriptParams[1], *(CVector2D*)&ScriptParams[3],
+ *(CVector2D*)&ScriptParams[5], *(CVector2D*)&ScriptParams[7],
+ *(CVector2D*)&ScriptParams[9], *(CVector2D*)&ScriptParams[11]);
return 0;
}
case COMMAND_SET_EXTRA_COLOURS: