diff options
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r-- | src/scrcmd.c | 4 |
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; } |