diff --git a/desktop_version/src/Entity.cpp b/desktop_version/src/Entity.cpp index 9d43985e..b63f219c 100644 --- a/desktop_version/src/Entity.cpp +++ b/desktop_version/src/Entity.cpp @@ -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)) { diff --git a/desktop_version/src/Entity.h b/desktop_version/src/Entity.h index 9b44cec9..a6ebdafa 100644 --- a/desktop_version/src/Entity.h +++ b/desktop_version/src/Entity.h @@ -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);