mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Rewind W_VerifyNMUSlumps file handle for PK3, too (resolves kart-krew-dev/ring-racers#177)
This commit is contained in:
parent
5a622e6ce0
commit
2f189ca6f0
1 changed files with 3 additions and 3 deletions
|
|
@ -2535,12 +2535,12 @@ int W_VerifyNMUSlumps(const char *filename, FILE *handle, boolean exit_on_error)
|
|||
&& stricmp(&filename[strlen(filename) - 4], ".lua"))
|
||||
{
|
||||
status = W_VerifyWAD(handle, NMUSlist, false);
|
||||
|
||||
// repair file handle in this specific case
|
||||
fseek(handle, 0, SEEK_SET);
|
||||
}
|
||||
}
|
||||
|
||||
// repair file handle so we don't have to open a new one
|
||||
fseek(handle, 0, SEEK_SET);
|
||||
|
||||
if (status == -1)
|
||||
W_InitFileError(filename, exit_on_error);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue