diff --git a/desktop_version/src/Entity.cpp b/desktop_version/src/Entity.cpp index 10b5b487..20f32816 100644 --- a/desktop_version/src/Entity.cpp +++ b/desktop_version/src/Entity.cpp @@ -3821,17 +3821,6 @@ int entityclass::getgridpoint( int t ) return t; } -bool entityclass::cblocks( int t ) -{ - tempx = entities[t].xp + entities[t].cx; - tempy = entities[t].yp + entities[t].cy; - tempw = entities[t].w; - temph = entities[t].h; - rectset(tempx, tempy, tempw, temph); - - return checkblocks(); -} - bool entityclass::checkplatform() { //Return true if rectset intersects a moving platform, setups px & py to the platform x & y diff --git a/desktop_version/src/Entity.h b/desktop_version/src/Entity.h index ba91236d..3cc07069 100644 --- a/desktop_version/src/Entity.h +++ b/desktop_version/src/Entity.h @@ -111,8 +111,6 @@ public: int getgridpoint(int t); - bool cblocks(int t); - bool checkplatform(); bool checkblocks();