diff --git a/code/MD5Parser.h b/code/MD5Parser.h index ab68a735e..3d21196df 100644 --- a/code/MD5Parser.h +++ b/code/MD5Parser.h @@ -424,7 +424,8 @@ private: bool SkipSpacesAndLineEnd( const char* in, const char** out) { bool bHad = false; - while (true) { + bool running = true; + while (running) { if( *in == '\r' || *in == '\n') { // we open files in binary mode, so there could be \r\n sequences ... if (!bHad) {