diff --git a/rehlds/engine/cmd.cpp b/rehlds/engine/cmd.cpp index 518eea6..46b1b16 100644 --- a/rehlds/engine/cmd.cpp +++ b/rehlds/engine/cmd.cpp @@ -627,7 +627,11 @@ void EXT_FUNC Cmd_TokenizeString(char *text) while (true) { // Skip whitespace up to a \n +#ifdef REHLDS_FIXES + while (*text && (uint8_t)*text <= ' ' && *text != '\n') +#else // REHLDS_FIXES while (*text && *text <= ' ' && *text != '\n') +#endif // REHLDS_FIXES { ++text; }