From ac52ecab5df8382b51d48a9431f672bfc502a400 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan <tullivan99@gmail.com> Date: Thu, 12 Nov 2015 08:28:27 -0500 Subject: world physic fixes --- include/world.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/world.h') diff --git a/include/world.h b/include/world.h index 48ca47b..cb40ef6 100644 --- a/include/world.h +++ b/include/world.h @@ -36,10 +36,6 @@ protected: struct line_t *line; - /* - * Keeps a dynamically allocated array of platforms in the world. - */ - /* * Contains the starting x-coordinate to draw the world at. This should be equal to * - getWidth() (see world.cpp) / 2 @@ -81,7 +77,7 @@ public: std::vector<Mob *> mob; std::vector<Entity *> entity; - void addStructure(_TYPE t,float x,float y,void *inside); + void addStructure(_TYPE t,float x,float y,World *outside,World *inside); void addMob(int t,float x,float y); void addNPC(float x,float y); -- cgit v1.2.3