mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Fix intro crash
This commit is contained in:
parent
b899610f0f
commit
d69430dd04
1 changed files with 4 additions and 1 deletions
|
|
@ -1747,6 +1747,9 @@ void *W_CachePatchNum(lumpnum_t lumpnum, INT32 tag)
|
||||||
|
|
||||||
void W_UnlockCachedPatch(void *patch)
|
void W_UnlockCachedPatch(void *patch)
|
||||||
{
|
{
|
||||||
|
if (!patch)
|
||||||
|
return;
|
||||||
|
|
||||||
// The hardware code does its own memory management, as its patches
|
// The hardware code does its own memory management, as its patches
|
||||||
// have different lifetimes from software's.
|
// have different lifetimes from software's.
|
||||||
#ifdef HWRENDER
|
#ifdef HWRENDER
|
||||||
|
|
@ -2144,7 +2147,7 @@ int W_VerifyNMUSlumps(const char *filename, boolean exit_on_error)
|
||||||
{"LT", 2}, // Titlecard changes
|
{"LT", 2}, // Titlecard changes
|
||||||
|
|
||||||
{"SLID", 4}, // Continue
|
{"SLID", 4}, // Continue
|
||||||
{"CONT", 4},
|
{"CONT", 4},
|
||||||
|
|
||||||
{"MINICAPS", 8}, // NiGHTS graphics here and below
|
{"MINICAPS", 8}, // NiGHTS graphics here and below
|
||||||
{"BLUESTAT", 8}, // Sphere status
|
{"BLUESTAT", 8}, // Sphere status
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue