- Fix wrong case 'NULL' from previous commit. (I sure hope that patch was

tested!)



SVN r3434 (trunk)
This commit is contained in:
Randy Heit 2012-03-12 22:23:17 +00:00
parent 365311ec36
commit c05345668c

View file

@ -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);