diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-05-19 20:17:13 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-05-19 20:17:13 -0400 |
| commit | 99c78680de41fc627ec5d2737b2639605e87ae32 (patch) | |
| tree | a3e5eb7c03f1de53dc6a0461d88527a6f1b8fd05 /src/d/d_kankyo.cpp | |
| parent | 6610bf1d1ca48bacda8fcbe3803a7c3b8c6cf214 (diff) | |
Fix version defines
Diffstat (limited to 'src/d/d_kankyo.cpp')
| -rw-r--r-- | src/d/d_kankyo.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/d/d_kankyo.cpp b/src/d/d_kankyo.cpp index 13d71317..1c70d550 100644 --- a/src/d/d_kankyo.cpp +++ b/src/d/d_kankyo.cpp @@ -503,7 +503,7 @@ void dScnKy_env_light_c::setDaytime() { mCurTime = dComIfGs_getTime(); mDayOfWeek = dComIfGs_getDate(); -#if VERSION != VERSION_JPN +#if VERSION > VERSION_JPN if (strcmp(dComIfGp_getStartStageName(), "sea") == 0 && dComIfGp_roomControl_getStayNo() == 14) { if (dComIfGp_getStartStageLayer() == 2 || dComIfGp_getStartStageLayer() == 3) { @@ -2551,7 +2551,7 @@ cXyz dKy_plight_near_pos() { /* 801952E0-80195364 .text dKy_plight_set__FP15LIGHT_INFLUENCE */ void dKy_plight_set(LIGHT_INFLUENCE* param_0) { -#if VERSION != VERSION_JPN +#if VERSION > VERSION_JPN for (int i = 0; i < 200; i++) { if (g_env_light.mpPLights[i] == param_0) { return; @@ -2560,7 +2560,7 @@ void dKy_plight_set(LIGHT_INFLUENCE* param_0) { #endif for (int i = 0; i < 200; i++) { -#if VERSION == VERSION_JPN +#if VERSION <= VERSION_JPN if (g_env_light.mpPLights[i] == param_0) { return; } @@ -2613,7 +2613,7 @@ void dKy_plight_cut(LIGHT_INFLUENCE* param_0) { /* 80195454-801954D8 .text dKy_efplight_set__FP15LIGHT_INFLUENCE */ void dKy_efplight_set(LIGHT_INFLUENCE* param_0) { -#if VERSION != VERSION_JPN +#if VERSION > VERSION_JPN for (int i = 0; i < 10; i++) { if (g_env_light.mpEfLights[i] == param_0) { return; @@ -2622,7 +2622,7 @@ void dKy_efplight_set(LIGHT_INFLUENCE* param_0) { #endif for (int i = 0; i < 10; i++) { -#if VERSION == VERSION_JPN +#if VERSION <= VERSION_JPN if (g_env_light.mpEfLights[i] == param_0) { return; } |
