diff --git a/HLLib/VPKFile.cpp b/HLLib/VPKFile.cpp index 02027ac..d31a678 100644 --- a/HLLib/VPKFile.cpp +++ b/HLLib/VPKFile.cpp @@ -115,7 +115,7 @@ hlBool CVPKFile::MapDataStructures() } } - while(hlTrue) + while(lpViewData != lpViewDirectoryDataEnd) { const hlChar *lpExtension; if(!this->MapString(lpViewData, lpViewDirectoryDataEnd, lpExtension))