mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Merge pull request #775 from InfoTeddy/general-bug-fixes-5
Interpolate gravitron square indicators
This commit is contained in:
commit
2efe7724a7
1 changed files with 2 additions and 2 deletions
|
@ -2033,7 +2033,7 @@ void Graphics::drawentity(const int i, const int yoff)
|
|||
{
|
||||
if (obj.entities[i].xp < -100)
|
||||
{
|
||||
tpoint.x = -5 + (int(( -obj.entities[i].xp) / 10));
|
||||
tpoint.x = -5 + (int(( -xp) / 10));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2056,7 +2056,7 @@ void Graphics::drawentity(const int i, const int yoff)
|
|||
{
|
||||
if (obj.entities[i].xp > 420)
|
||||
{
|
||||
tpoint.x = 320 - (int(( obj.entities[i].xp-320) / 10));
|
||||
tpoint.x = 320 - (int(( xp-320) / 10));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue