summaryrefslogtreecommitdiff
path: root/src/object/thunderbolt.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2023-12-30 22:08:56 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2023-12-30 22:09:30 +0100
commita818f1b7041898d7eee28b5c1c455ba3225e063f (patch)
tree8a249012181db16dc1161efb36cf0abe7c0e9ff1 /src/object/thunderbolt.c
parent5676cb7890facded77c5cf32c6017fbf12a4d386 (diff)
Use new entity struct for player
Diffstat (limited to 'src/object/thunderbolt.c')
-rw-r--r--src/object/thunderbolt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/thunderbolt.c b/src/object/thunderbolt.c
index b1984fa2..543c08c4 100644
--- a/src/object/thunderbolt.c
+++ b/src/object/thunderbolt.c
@@ -100,7 +100,7 @@ void sub_08093EF0(ThunderboltEntity* this) {
if ((super->frame & ANIM_DONE) == 0) {
return;
}
- if (super->parent == &gPlayerEntity) {
+ if (super->parent == &gPlayerEntity.base) {
SoundReq(SFX_PLY_VO6);
sub_08079D84();
}