1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Remove now-unused entityclass::hormovingplatformfix()

This function is no longer used after I removed it in favor of using
`entityclass::moveblockto()`.
This commit is contained in:
Misa 2020-10-09 17:09:32 -07:00 committed by Ethan Lee
parent 99297659ee
commit e8084fe699
2 changed files with 0 additions and 15 deletions

View file

@ -4523,19 +4523,6 @@ void entityclass::movingplatformfix( int t, int j )
}
}
void entityclass::hormovingplatformfix( int t )
{
if (!INBOUNDS_VEC(t, entities))
{
puts("hormovingplatformfix() out-of-bounds!");
return;
}
//If this intersects the player, then we move the player along it
//for horizontal platforms, this is simplier
createblock(0, entities[t].xp, entities[t].yp, entities[t].w, entities[t].h);
}
void entityclass::customwarplinecheck(int i) {
if (!INBOUNDS_VEC(i, entities))
{

View file

@ -168,8 +168,6 @@ public:
void movingplatformfix(int t, int j);
void hormovingplatformfix(int t);
void entitycollisioncheck();
void collisioncheck(int i, int j, bool scm = false);