mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-14 15:57:59 +03:00
Fixing IsValid outputting the opposite of being valid
This commit is contained in:
parent
e9cbcd173d
commit
1d4dfe7d4c
@ -1071,7 +1071,7 @@ SQInteger IsValid_stub(HSQUIRRELVM vm)
|
||||
{
|
||||
ClassInstanceData* classInstanceData = nullptr;
|
||||
sq_getinstanceup(vm, 1, (SQUserPointer*)&classInstanceData, 0);
|
||||
sq_pushbool(vm, classInstanceData == nullptr);
|
||||
sq_pushbool(vm, classInstanceData != nullptr);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user