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

This commit is contained in:
indev authored and Alug committed 2025-04-25 11:47:15 +02:00
1 parent b5a5c7d4f2
commit 6db017ff1a
1 file changed
+1 -1
+1 -1
View File
@@ -3347,7 +3347,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);