- Changed DrawSelectedInventory's alternateonempty flag to draw the subblock before itself. This allows an else statement to be more useful in practice.

- Fixed: Added offsets to the wrong variable in SBarInfo.

SVN r2348 (trunk)
This commit is contained in:
Braden Obrzut 2010-05-30 18:34:59 +00:00
commit 9716e1aea7
2 changed files with 7 additions and 7 deletions

View file

@ -1115,12 +1115,12 @@ public:
if((offsetflags & SBarInfoCommand::CENTER) == SBarInfoCommand::CENTER)
{
x -= (texture->GetScaledWidthDouble()/2.0)-texture->LeftOffset;
y -= (texture->GetScaledHeightDouble()/2.0)-texture->TopOffset;
dx -= (texture->GetScaledWidthDouble()/2.0)-texture->LeftOffset;
dy -= (texture->GetScaledHeightDouble()/2.0)-texture->TopOffset;
}
x += xOffset;
y += yOffset;
dx += xOffset;
dy += yOffset;
double w, h;
if(!fullScreenOffsets)
{