diff --git a/stepmania/src/RageFileDriverZip.cpp b/stepmania/src/RageFileDriverZip.cpp index 416781a50f..a228f3e638 100644 --- a/stepmania/src/RageFileDriverZip.cpp +++ b/stepmania/src/RageFileDriverZip.cpp @@ -114,7 +114,7 @@ bool RageFileDriverZip::SeekToEndCentralRecord() return false; } - for( int iPos = iGot; iPos >= 0; --iPos ) + for( int iPos = iGot - 4; iPos >= 0; --iPos ) { if( memcmp(buf + iPos, "\x50\x4B\x05\x06", 4) ) continue;