Remove this stuff

This commit is contained in:
Federico Cecchetto 2022-06-10 02:06:09 +02:00
parent 9512add5ad
commit a15cdd5949
2 changed files with 0 additions and 19 deletions

View File

@ -134,11 +134,6 @@ namespace gsc
script_function get_function_stub(const char** name, int* type) 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()) if (function_wraps.find(*name) != function_wraps.end())
{ {
return reinterpret_cast<script_function>(function_wraps[*name]); return reinterpret_cast<script_function>(function_wraps[*name]);

View File

@ -35,23 +35,9 @@ namespace game
{ {
if (environment::is_mp()) if (environment::is_mp())
{ {
#ifdef DEBUG
if (mp_object_ == nullptr)
{
MessageBoxA(nullptr, "nullptr symbol", "", 0);
}
#endif
return mp_object_; return mp_object_;
} }
#ifdef DEBUG
if (sp_object_ == nullptr)
{
MessageBoxA(nullptr, "nullptr symbol", "", 0);
}
#endif
return sp_object_; return sp_object_;
} }