1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-25 22:18:30 +02:00

Remove unused attributes from entclass

These attributes were `jumping` and `jumpframe`. Removal of unused
attributes makes reading the code easier.
This commit is contained in:
Misa 2020-09-28 11:13:02 -07:00 committed by Ethan Lee
parent cbceeccf78
commit 733cad723b
3 changed files with 0 additions and 5 deletions

View File

@ -38,11 +38,9 @@ entclass::entclass()
x2 = 320;
y2 = 240;
jumping = false;
gravity = false;
onground = 0;
onroof = 0;
jumpframe = 0;
onentity = 0;
harmful = false;

View File

@ -42,10 +42,8 @@ public:
int onwall, onxwall, onywall;
//Platforming specific
bool jumping;
bool gravity;
int onground, onroof;
int jumpframe;
//Animation
int framedelay, drawframe, walkingframe, dir, actionframe;
int yp;int xp;

View File

@ -4446,7 +4446,6 @@ void entityclass::entitymapcollision( int t )
{
if (entities[t].onwall > 0) entities[t].state = entities[t].onwall;
if (entities[t].onywall > 0) entities[t].state = entities[t].onywall;
entities[t].jumpframe = 0;
}
}