From 8ad2d661a2c33a3c3e60d2a7089c9f5463ae2ab0 Mon Sep 17 00:00:00 2001 From: Max Roncace Date: Thu, 11 Dec 2025 18:34:16 -0500 Subject: Clean up conditional compilation a bit (#2943) --- src/d/d_simple_model.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/d/d_simple_model.cpp') diff --git a/src/d/d_simple_model.cpp b/src/d/d_simple_model.cpp index e6bc481551..2bea7e950d 100644 --- a/src/d/d_simple_model.cpp +++ b/src/d/d_simple_model.cpp @@ -144,7 +144,7 @@ BOOL diff_model_c::create(J3DModelData* i_modelData, int roomNo, u8 drawBG) { int result = mDoExt_adjustSolidHeapToSystem(mpHeap); mRoomNo = roomNo; mDrawBG = drawBG; - #if VERSION == VERSION_SHIELD_DEBUG + #if DEBUG field_0x12 = 0; #endif return 1; @@ -170,7 +170,7 @@ void diff_model_c::remove(int param_0) { if (mCreateNum == 0 || param_0 != 0) { if (mpHeap != NULL) { - #if VERSION == VERSION_SHIELD_DEBUG + #if DEBUG if (field_0x12 != 0) { JUT_WARN(510, "%s", "Simple Model Denger Remove !!\n"); } @@ -196,11 +196,11 @@ void diff_model_c::draw() { } mDoExt_modelUpdateDL(mpModel); dComIfGd_setList(); - #if VERSION == VERSION_SHIELD_DEBUG + #if DEBUG field_0x12 = 1; #endif } else { - #if VERSION == VERSION_SHIELD_DEBUG + #if DEBUG field_0x12 = 0; #endif } -- cgit v1.2.3