mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed: PCD_ENDTRANSLATION was missing a NULL pointer check.
This commit is contained in:
parent
a97f67edb6
commit
5d528fe317
1 changed files with 5 additions and 4 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue