Don't free PU_SPRITE memory, since it invalidates some lua patches if they are using sprite frames

This commit is contained in:
indev committed 2025-04-25 12:15:57 +03:00
1 parent 2468277068
commit 97093dbeb9
1 file changed
+1 -1
+1 -1
View File
@@ -3342,7 +3342,7 @@ UINT16 P_PartialAddWadFile(const char *wadfilename, boolean local)
//
// search for sprite replacements
//
Patch_FreeTag(PU_SPRITE);
//Patch_FreeTag(PU_SPRITE);
//Patch_FreeTag(PU_PATCH_ROTATED);
R_AddSpriteDefs(wadnum);