- 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:
parent
5535f98218
commit
9716e1aea7
2 changed files with 7 additions and 7 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue