summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-05-27 09:29:45 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-05-29 17:43:11 -0500
commitb99b9860d54b8413595b16e495d74e998f098584 (patch)
tree87a727b4966bde9c940094d9fce3f41971acc917 /src/scrcmd.c
parente435d62f0a496652482c89d7fd696ecc08d22a15 (diff)
Start labeling movement actions
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index 9422f8cb6..d382c66c3 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -1156,10 +1156,10 @@ bool8 ScrCmd_createvobject(struct ScriptContext *ctx)
bool8 ScrCmd_turnvobject(struct ScriptContext *ctx)
{
- u8 v1 = ScriptReadByte(ctx);
+ u8 mapObjectId = ScriptReadByte(ctx);
u8 direction = ScriptReadByte(ctx);
- sub_8064990(v1, direction);
+ TurnMapObject(mapObjectId, direction);
return FALSE;
}