mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 18:04:09 +03:00
Remove entityclass::cleanup()
This function's sole purpose was to make sure obj.nentity was in sync, and that obj.nentity-1 pointed to the last 'active' entity in obj.entities. But now that obj.nentity is removed and we use obj.entities.size() instead, it is no longer necessary.
This commit is contained in:
@@ -909,7 +909,6 @@ void mapclass::gotoroom(int rx, int ry)
|
||||
theplayer--; //just in case indice of player is not 0
|
||||
}
|
||||
}
|
||||
obj.cleanup();
|
||||
|
||||
game.door_up = rx + ((ry - 1) * 100);
|
||||
game.door_down = rx + ((ry + 1) * 100);
|
||||
|
||||
Reference in New Issue
Block a user