mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Don't modify gMAXITEM_READ when reading localized file (#198)
This commit is contained in:
+6
-3
@@ -1600,9 +1600,12 @@ BOOLEAN ReadInItemStats(STR fileName, BOOLEAN localizedVersion )
|
||||
MemFree(lpcBuffer);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// item read was x -> x+1 items
|
||||
++gMAXITEMS_READ;
|
||||
|
||||
if (localizedTextOnly == false)
|
||||
{
|
||||
// item read was x -> x+1 items
|
||||
++gMAXITEMS_READ;
|
||||
}
|
||||
|
||||
MemFree(lpcBuffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user