From d014d3c197fe74975e038b639ad297525f77ecfa Mon Sep 17 00:00:00 2001 From: Justin Pridgen Date: Thu, 7 Mar 2024 14:29:41 -0500 Subject: [PATCH] Fix conditionals --- src/IDListLayer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/IDListLayer.cpp b/src/IDListLayer.cpp index f98cfc8..e846981 100644 --- a/src/IDListLayer.cpp +++ b/src/IDListLayer.cpp @@ -332,11 +332,11 @@ void IDListLayer::onExit(CCObject*) { auto gm = GameManager::sharedState(); #ifdef GEODE_IS_WINDOWS auto onlineType = *(int*)((uintptr_t)gm + 0x3d4); -#elif GEODE_IS_MACOS +#elif defined(GEODE_IS_MACOS) auto onlineType = *(int*)((uintptr_t)gm + 0x4b8); -#elif GEODE_IS_ANDROID32 +#elif defined(GEODE_IS_ANDROID32) auto onlineType = *(int*)((uintptr_t)gm + 0x3bc); -#elif GEODE_IS_ANDROID64 +#elif defined(GEODE_IS_ANDROID64) auto onlineType = *(int*)((uintptr_t)gm + 0x4d8); #else auto onlineType = 0;