mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-27 04:21:42 +00:00
Fix crash when CG was loaded in main menu related to Yoshi (#1206)
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
* Fix crash when CG was loaded in main menu * Remove now unecessary check * This *should* undo this * Let's try that again! * Remove leftover code
This commit is contained in:
parent
f10e3062d8
commit
8edcc86049
1 changed files with 6 additions and 0 deletions
|
|
@ -270,6 +270,12 @@ void yoshi_reappear(void) {
|
|||
}
|
||||
|
||||
void bhv_yoshi_loop(void) {
|
||||
// sanity check main menu
|
||||
if (gDjuiInMainMenu) {
|
||||
yoshi_idle_loop();
|
||||
return;
|
||||
}
|
||||
|
||||
switch (o->oAction) {
|
||||
case YOSHI_ACT_IDLE:
|
||||
yoshi_idle_loop();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue