1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-09-28 06:27:47 +00:00

Updated gx constants to use -1, 0 instead of actual boolean values

This commit is contained in:
boxgaming 2024-08-13 09:15:31 -05:00
parent b8836a2b3e
commit 8fef5d8c7b
2 changed files with 2 additions and 3 deletions

View file

@ -2632,8 +2632,8 @@ var GX = new function() {
this.sceneActive = function() { return _scene.active; }
// constants
this.TRUE = true;
this.FALSE = false;
this.TRUE = -1;
this.FALSE = 0;
this.EVENT_INIT = 1;
this.EVENT_UPDATE = 2;

View file

@ -2219,7 +2219,6 @@ Function FindMethod (mname As String, m As Method, t As String, includeBuiltIn A
For i = 1 To UBound(methods)
If (Not includeBuiltIn) And methods(i).builtin Then
' Skip it
'_Continue
ElseIf methods(i).uname = _Trim$(UCase$(RemoveSuffix(mname))) And methods(i).type = t Then
found = True
m.line = methods(i).line