Register snowman in ObjectFactory
authorgrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Mon, 22 Feb 2010 18:12:17 +0000 (18:12 +0000)
committergrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Mon, 22 Feb 2010 18:12:17 +0000 (18:12 +0000)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6394 837edb03-e0f3-0310-88ca-d4d4e8b29345

src/supertux/object_factory.cpp

index fe6cb08..4bd2057 100644 (file)
@@ -53,6 +53,7 @@
 #include "badguy/smartball.hpp"
 #include "badguy/snail.hpp"
 #include "badguy/snowball.hpp"
+#include "badguy/snowman.hpp"
 #include "badguy/spidermite.hpp"
 #include "badguy/spiky.hpp"
 #include "badguy/sspiky.hpp"
@@ -199,6 +200,7 @@ ObjectFactory::init_factories()
   add_factory<SmartBall>("smartball");
   add_factory<Snail>("snail");
   add_factory<SnowBall>("snowball");
+  add_factory<Snowman>("snowman");
   add_factory<SpiderMite>("spidermite");
   add_factory<Spiky>("spiky");
   add_factory<Stalactite>("stalactite");