mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 06:12:19 +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;
|
||||
|
||||
case PCD_ENDTRANSLATION:
|
||||
// This might be useful for hardware rendering, but
|
||||
// for software it is superfluous.
|
||||
translation->UpdateNative();
|
||||
translation = NULL;
|
||||
if (translation != NULL)
|
||||
{
|
||||
translation->UpdateNative();
|
||||
translation = NULL;
|
||||
}
|
||||
break;
|
||||
|
||||
case PCD_SIN:
|
||||
|
|
Loading…
Reference in a new issue