mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-15 00:42:20 +00:00
Fixed A_OverlayPivotAlign using bitwise or instead of assigning
This commit is contained in:
parent
9af3d54a19
commit
b20f09a910
1 changed files with 2 additions and 2 deletions
|
@ -993,9 +993,9 @@ DEFINE_ACTION_FUNCTION(AActor, A_OverlayPivotAlign)
|
|||
if (pspr != nullptr)
|
||||
{
|
||||
if (halign >= PSPA_LEFT && halign <= PSPA_RIGHT)
|
||||
pspr->HAlign |= halign;
|
||||
pspr->HAlign = halign;
|
||||
if (valign >= PSPA_TOP && valign <= PSPA_BOTTOM)
|
||||
pspr->VAlign |= valign;
|
||||
pspr->VAlign = valign;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue