1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-14 16:53:38 +02:00

Merge pull request #775 from InfoTeddy/general-bug-fixes-5

Interpolate gravitron square indicators
This commit is contained in:
Terry Cavanagh 2021-06-12 22:35:07 +10:30 committed by GitHub
commit 2efe7724a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
{