mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-06 04:52:16 +00:00
d5d60afdc3
- Replace direct calls to strtok with calls to a new wrapper function, safeStrtok. Whenever strtok returns a null pointer, safeStrtok returns an empty string instead. This should assist with replicating the behaviors with the DOS EXE, without leading to crashes. - This way, the "GOTO" and "CREATURE" codes are fixed. The code handling "LEVEL" is additionally simplified. - The code executed if nStringLen == 0 || pToken == NULL is now gone. As is the case under DOS, if you enter a non-empty string which isn't matched at all, sHollyStr will be emptified, but you'll otherwise still be able to enter a code, with no need to retype "HOLLY". |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt |