diff options
| author | hev7 <143887945+hev7@users.noreply.github.com> | 2025-11-19 02:21:48 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-18 18:21:48 -0800 |
| commit | 1b2fe5e2e373c19b8e6748f79a245ce0dd822920 (patch) | |
| tree | ccca29463ad1ea0d1b03f9feb5dbab23f10d2a56 /src/d/actor/d_a_mg_fshop.cpp | |
| parent | 8a39ebfa8b8ecf4d5fa8006745ba7c31862c75a7 (diff) | |
d_a_npc_grd matching (#2821)
* d_a_npc_grd matching
* Fix regression
* Fix
Diffstat (limited to 'src/d/actor/d_a_mg_fshop.cpp')
| -rw-r--r-- | src/d/actor/d_a_mg_fshop.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/d/actor/d_a_mg_fshop.cpp b/src/d/actor/d_a_mg_fshop.cpp index 109c35bacf..0bb2a49848 100644 --- a/src/d/actor/d_a_mg_fshop.cpp +++ b/src/d/actor/d_a_mg_fshop.cpp @@ -1662,8 +1662,14 @@ static int daFshop_Create(fopAc_ac_c* actor) { fopAcM_createChild(PROC_FSHOP, fopAcM_GetID(actor), 0xFFFFFF23, &actor->current.pos, fopAcM_GetRoomNo(actor), NULL, NULL, -1, NULL); u8 sp10 = 1; - #if VERSION == VERSION_GCN_PAL || VERSION == VERSION_WII_PAL || PLATFORM_SHIELD - if (dComIfGs_getPalLanguage() == 1) { + #if VERSION == VERSION_GCN_PAL || VERSION == VERSION_WII_PAL + if (dComIfGs_getPalLanguage() == dSv_player_config_c::LANGAUGE_ENGLISH) { + sp10 = 2; + } else { + sp10 = 0; + } + #elif PLATFORM_SHIELD + if (dComIfGs_getPalLanguage() == dSv_player_config_c::LANGAUGE_GERMAN) { sp10 = 2; } else { sp10 = 0; |
