- Blzut3's latest SBARINFO patch.
SVN r1285 (trunk)
This commit is contained in:
parent
e56fef0a8e
commit
fb1af415f5
2 changed files with 10 additions and 12 deletions
|
|
@ -1372,8 +1372,8 @@ void DSBarInfo::DrawGraphic(FTexture* texture, int x, int y, int xOffset, int yO
|
|||
|
||||
if(offsetflags & DRAWIMAGE_OFFSET_CENTER)
|
||||
{
|
||||
x -= (texture->GetWidth()/2)-texture->LeftOffset;
|
||||
y -= (texture->GetHeight()/2)-texture->TopOffset;
|
||||
x -= (texture->GetScaledWidth()/2)-texture->LeftOffset;
|
||||
y -= (texture->GetScaledHeight()/2)-texture->TopOffset;
|
||||
}
|
||||
|
||||
x += xOffset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue