- Fixed: Regression with centered coordinates.
This commit is contained in:
parent
a4c07a9ee3
commit
72506fa6e9
1 changed files with 2 additions and 2 deletions
|
|
@ -1280,8 +1280,8 @@ public:
|
|||
|
||||
// We can't use DTA_HUDRules since it forces a width and height.
|
||||
// Translation: No high res.
|
||||
bool xright = *x < 0;
|
||||
bool ybot = *y < 0;
|
||||
bool xright = *x < 0 && !x.RelCenter();
|
||||
bool ybot = *y < 0 && !y.RelCenter();
|
||||
|
||||
w = (forceWidth < 0 ? texture->GetScaledWidthDouble() : forceWidth);
|
||||
h = (forceHeight < 0 ? texture->GetScaledHeightDouble() : forceHeight);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue