mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-15 08:17:57 +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;
|
ClassInstanceData* classInstanceData = nullptr;
|
||||||
sq_getinstanceup(vm, 1, (SQUserPointer*)&classInstanceData, 0);
|
sq_getinstanceup(vm, 1, (SQUserPointer*)&classInstanceData, 0);
|
||||||
sq_pushbool(vm, classInstanceData == nullptr);
|
sq_pushbool(vm, classInstanceData != nullptr);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user