diff --git a/src/gamedata/keysections.cpp b/src/gamedata/keysections.cpp index ca37e5017..763d5331f 100644 --- a/src/gamedata/keysections.cpp +++ b/src/gamedata/keysections.cpp @@ -183,10 +183,6 @@ void D_LoadWadSettings () { command.Push(conf[linePos]); } - if (linePos == 0 && conf >= eof) // End of file - { - break; - } // Increment 'conf' pointer to next line conf += linePos; while (conf < eof && (*conf == '\n' || *conf == '\r'))