mirror of
https://github.com/alicealys/t5-gsc-utils.git
synced 2025-04-19 12:32:53 +00:00
Remove this stuff
This commit is contained in:
parent
9512add5ad
commit
a15cdd5949
@ -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]);
|
||||||
|
@ -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_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user