- 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
1 changed files with 5 additions and 4 deletions

View File

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