mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 09:39:43 +01:00
Merge pull request #134 from InfoTeddy/general-bug-fixes
Fix text() centering with x=-1
This commit is contained in:
commit
ab68cd98c8
1 changed files with 2 additions and 2 deletions
|
@ -597,7 +597,7 @@ void scriptclass::run( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map,
|
|||
dwgfx.textboxmoveto(textx);
|
||||
}
|
||||
|
||||
if (textx == -500)
|
||||
if (textx == -500 || textx == -1)
|
||||
{
|
||||
dwgfx.textboxcenterx();
|
||||
}
|
||||
|
@ -642,7 +642,7 @@ void scriptclass::run( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map,
|
|||
dwgfx.textboxmoveto(textx);
|
||||
}
|
||||
|
||||
if (textx == -500)
|
||||
if (textx == -500 || textx == -1)
|
||||
{
|
||||
dwgfx.textboxcenterx();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue