Merge branch 'toomanyflats-fix' into 'master'

Fix Ploadflat closing the game with "Too many flats in level" error message

See merge request STJr/SRB2!529
This commit is contained in:
James R 2019-12-13 01:57:55 -05:00
commit d64a7defed
1 changed files with 1 additions and 1 deletions

View File

@ -672,7 +672,7 @@ INT32 P_AddLevelFlat(const char *flatname, levelflat_t *levelflat)
// //
INT32 P_AddLevelFlatRuntime(const char *flatname) INT32 P_AddLevelFlatRuntime(const char *flatname)
{ {
return Ploadflat(0, flatname); return Ploadflat(levelflats, flatname);
} }
// help function for $$$.sav checking // help function for $$$.sav checking