From c05345668c85cade6376e0be631812241d634086 Mon Sep 17 00:00:00 2001 From: Randy Heit <rheit@zdoom.fake> Date: Mon, 12 Mar 2012 22:23:17 +0000 Subject: [PATCH] - Fix wrong case 'NULL' from previous commit. (I sure hope that patch was tested!) SVN r3434 (trunk) --- src/textures/animations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textures/animations.cpp b/src/textures/animations.cpp index 8ac05cc52..f296790d9 100644 --- a/src/textures/animations.cpp +++ b/src/textures/animations.cpp @@ -206,7 +206,7 @@ void FTextureManager::InitAnimated (void) (BYTE(anim_p[21]) << 16) | (BYTE(anim_p[22]) << 24); // SMMU-style swirly hack? Don't apply on already-warping texture - if (animspeed > 65535 && tex1 != null && !tex1->bWarped) + if (animspeed > 65535 && tex1 != NULL && !tex1->bWarped) { FTexture *warper = new FWarp2Texture (tex1); ReplaceTexture (pic1, warper, false);