From a15cdd594938db3fea27aa7d03465a45028d3c8f Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Fri, 10 Jun 2022 02:06:09 +0200 Subject: [PATCH] Remove this stuff --- src/component/gsc.cpp | 5 ----- src/game/game.hpp | 14 -------------- 2 files changed, 19 deletions(-) diff --git a/src/component/gsc.cpp b/src/component/gsc.cpp index 77c1e2a..2b5955a 100644 --- a/src/component/gsc.cpp +++ b/src/component/gsc.cpp @@ -134,11 +134,6 @@ namespace gsc script_function get_function_stub(const char** name, int* type) { - if (*name == "print"s) - { - MessageBoxA(nullptr, "", "", 0); - } - if (function_wraps.find(*name) != function_wraps.end()) { return reinterpret_cast(function_wraps[*name]); diff --git a/src/game/game.hpp b/src/game/game.hpp index 4289cb8..a80695c 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -35,23 +35,9 @@ namespace game { if (environment::is_mp()) { -#ifdef DEBUG - if (mp_object_ == nullptr) - { - MessageBoxA(nullptr, "nullptr symbol", "", 0); - } -#endif - return mp_object_; } -#ifdef DEBUG - if (sp_object_ == nullptr) - { - MessageBoxA(nullptr, "nullptr symbol", "", 0); - } -#endif - return sp_object_; }