From 99c78680de41fc627ec5d2737b2639605e87ae32 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Mon, 19 May 2025 20:17:13 -0400 Subject: Fix version defines --- src/d/d_kankyo.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/d/d_kankyo.cpp') 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; } -- cgit v1.2.3