From c950787693b747736caf68c97aa94734c6ab2f62 Mon Sep 17 00:00:00 2001 From: altalk23 <45172705+altalk23@users.noreply.github.com> Date: Sun, 1 Oct 2023 17:38:50 +0300 Subject: [PATCH] remove the field tests --- loader/src/hooks/LoadingLayer.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/loader/src/hooks/LoadingLayer.cpp b/loader/src/hooks/LoadingLayer.cpp index c8d246809..93e82f077 100644 --- a/loader/src/hooks/LoadingLayer.cpp +++ b/loader/src/hooks/LoadingLayer.cpp @@ -157,24 +157,3 @@ struct CustomLoadingLayer : Modify { this->updateLoadingBar(); } }; - -#include -struct FieldTest : Modify { - int field = 0x10101010; - - bool init(GJGameLevel* level) { - if (!PlayLayer::init(level)) return false; - log::debug("GameManager 1 {}", GameManager::sharedState()); - log::debug("PlayLayer 1 {}", PlayLayer::get()); - m_fields->field += 0x20202020; - log::debug("GameManager 2 {}", GameManager::sharedState()); - log::debug("PlayLayer 2 {}", PlayLayer::get()); - return true; - } - - void update(float dt) { - log::debug("GameManager {}", GameManager::sharedState()); - log::debug("PlayLayer {}", PlayLayer::get()); - PlayLayer::update(dt); - } -}; \ No newline at end of file