summaryrefslogtreecommitdiff
path: root/src/object
diff options
context:
space:
mode:
authorHenny022p <info@henny022.de>2021-02-19 05:32:39 +0100
committerHenny022p <info@henny022.de>2021-02-19 05:32:39 +0100
commitb404b02bc2fffdef953935a33fb6f38098a23585 (patch)
treef21f2aa3ca5403199bbd216276eb7a998d31f794 /src/object
parent42f3e2e2fe788cf3f59d51089bc6036c5d3b816f (diff)
cleaned some usage of ExecuteScriptCommandSet
Diffstat (limited to 'src/object')
-rw-r--r--src/object/houseDoorExterior.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/houseDoorExterior.c b/src/object/houseDoorExterior.c
index cdee3afe..170f6e33 100644
--- a/src/object/houseDoorExterior.c
+++ b/src/object/houseDoorExterior.c
@@ -116,7 +116,7 @@ static void sub_0808681C(Entity* this) {
}
if (this->flags & 0x2) {
- ExecuteScriptCommandSet(this, *(u32**)&this->cutsceneBeh);
+ ExecuteScriptCommandSet(this, *(ScriptExecutionContext **)&this->cutsceneBeh);
sub_080868EC(this, *(void**)&this->cutsceneBeh);
}
}
@@ -128,7 +128,7 @@ void sub_080868B0(Entity* this) {
this->boundingBox = &gUnk_081206AC;
this->actionDelay = 8;
}
- ExecuteScriptCommandSet(this, *(u32**)&this->cutsceneBeh);
+ ExecuteScriptCommandSet(this, *(ScriptExecutionContext **)&this->cutsceneBeh);
sub_080868EC(this, *(void**)&this->cutsceneBeh);
}