mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 18:01:16 +00:00
Fix Ploadflat closing the game with "Too many flats in level" error message
This commit is contained in:
parent
6bd5246edd
commit
ea129f701c
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ INT32 P_AddLevelFlat(const char *flatname, levelflat_t *levelflat)
|
|||
//
|
||||
INT32 P_AddLevelFlatRuntime(const char *flatname)
|
||||
{
|
||||
return Ploadflat(0, flatname);
|
||||
return Ploadflat(levelflats, flatname);
|
||||
}
|
||||
|
||||
// help function for $$$.sav checking
|
||||
|
|
Loading…
Reference in a new issue