diff --git a/decompile/Makefile b/decompile/Makefile index 48a4ba7..92d8f5f 100644 --- a/decompile/Makefile +++ b/decompile/Makefile @@ -3,7 +3,7 @@ all: src/JSRF/Jet2.obj # Simple inference rule for producing object files .SUFFIXES: .cpp .obj .cpp.obj: - CL.EXE /nologo /Wall /TP /W3 /O2 /Ob0 /MT /GX /Fo$@ /c $< + CL.EXE /nologo /Wall /TP /W3 /Ogityb0 /MT /GX /Fo$@ /c $< # Header files used for each object src/JSRF/Jet2.obj: src/JSRF/Core.hpp src/XDK/D3D.hpp src/XDK/Win32.hpp\ diff --git a/decompile/src/JSRF/Core.cpp b/decompile/src/JSRF/Core.cpp index 62ae1cd..84141ab 100644 --- a/decompile/src/JSRF/Core.cpp +++ b/decompile/src/JSRF/Core.cpp @@ -569,7 +569,7 @@ void Game::frame() { // Matching: yes int Game::mainLoop() { if (this->initState >= 0) while (true) { - if (this->fatalErr == FALSE) this->frame(); + if (!this->fatalErr) this->frame(); else { readInput(); Sleep(0x10);