mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Merge pull request #775 from InfoTeddy/general-bug-fixes-5
Interpolate gravitron square indicators
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user