mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-04-28 21:27:58 +03:00
fix crash (#5146)
This commit is contained in:
parent
d109aa795a
commit
04d79222d4
1 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,12 @@ void Custom_EnMThunder_Update(Actor* thisx, PlayState* play) {
|
|||
f32 blueRadius;
|
||||
s32 redGreen;
|
||||
|
||||
// If thunder effect doesn't exist (aka player doesn't have magic),
|
||||
// don't do anything.
|
||||
if (enMThunder->actionFunc == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
enMThunder->actionFunc(enMThunder, play);
|
||||
// don't call this part, it's what makes the spin attack darkness happen
|
||||
// func_80A9F314(play, this->unk_1BC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue