pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] r3398 - trunk/pingus/src/worldobjs


From: grumbel at BerliOS
Subject: [Pingus-CVS] r3398 - trunk/pingus/src/worldobjs
Date: Tue, 30 Oct 2007 08:29:11 +0100

Author: grumbel
Date: 2007-10-30 08:29:10 +0100 (Tue, 30 Oct 2007)
New Revision: 3398

Modified:
   trunk/pingus/src/worldobjs/entrance.cpp
Log:
- added default values in case the level file lacks them

Modified: trunk/pingus/src/worldobjs/entrance.cpp
===================================================================
--- trunk/pingus/src/worldobjs/entrance.cpp     2007-10-30 07:28:15 UTC (rev 
3397)
+++ trunk/pingus/src/worldobjs/entrance.cpp     2007-10-30 07:29:10 UTC (rev 
3398)
@@ -31,10 +31,11 @@
 namespace WorldObjs {
 
 Entrance::Entrance(const FileReader& reader)
-  : type("generic"),
+  : direction(MISC),
     release_rate(150),
     owner_id(0),
-    smallmap_symbol(Resource::load_sprite("core/misc/smallmap_entrance")),
+    type("generic"),
+    smallmap_symbol(Resource::load_sprite("core/misc/smallmap_entrance"))
 {
   reader.read_string("type",         type);
   reader.read_int   ("owner-id",     owner_id);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]