- fixed: PCD_ENDTRANSLATION was missing a NULL pointer check.

This commit is contained in:
Christoph Oelckers 2016-04-12 01:23:12 +02:00
parent a97f67edb6
commit 5d528fe317

View file

@ -8900,10 +8900,11 @@ scriptwait:
break; break;
case PCD_ENDTRANSLATION: case PCD_ENDTRANSLATION:
// This might be useful for hardware rendering, but if (translation != NULL)
// for software it is superfluous. {
translation->UpdateNative(); translation->UpdateNative();
translation = NULL; translation = NULL;
}
break; break;
case PCD_SIN: case PCD_SIN: