From f571fe4b6772b6f64ab231b89f26825362e78f9a Mon Sep 17 00:00:00 2001 From: Ryan Flegel Date: Tue, 8 Jun 2004 19:57:18 +0000 Subject: [PATCH] - oops, forgot to remove commented area SVN-Revision: 1439 --- src/sector.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/sector.cpp b/src/sector.cpp index bef23cfae..b815ba21e 100644 --- a/src/sector.cpp +++ b/src/sector.cpp @@ -275,30 +275,6 @@ void Sector::add_object(GameObject* object) { gameobjects_new.push_back(object); -#if 0 - BadGuy* badguy = dynamic_cast (object); - if(badguy) - badguys.push_back(badguy); - Bullet* bullet = dynamic_cast (object); - if(bullet) - bullets.push_back(bullet); - Upgrade* upgrade = dynamic_cast (object); - if(upgrade) - upgrades.push_back(upgrade); - Trampoline* trampoline = dynamic_cast (object); - if(trampoline) - trampolines.push_back(trampoline); - FlyingPlatform* flying_platform = dynamic_cast (object); - if(flying_platform) - flying_platforms.push_back(flying_platform); - InteractiveObject* interactive_object - = dynamic_cast (object); - if(interactive_object) - interactive_objects.push_back(interactive_object); - - gameobjects.push_back(object); - -#endif } void -- 2.11.0