pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src world.cxx,1.2,1.3


From: torangan
Subject: [Pingus-CVS] CVS: Games/Pingus/src world.cxx,1.2,1.3
Date: 14 Jun 2002 11:34:37 -0000

Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv6830

Modified Files:
        world.cxx 
Log Message:
moved PingusHolder* pingus out of the world_obj list and delete it manually
in the destructor.


Index: world.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/world.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- world.cxx   13 Jun 2002 14:25:12 -0000      1.2
+++ world.cxx   14 Jun 2002 11:34:35 -0000      1.3
@@ -87,6 +87,7 @@
   }
   
   delete world_obj;
+  delete pingus;
 }
 
 // Merge the different layers on the screen together
@@ -204,8 +205,6 @@
       if (obj)
        world_obj->push_back(obj);
     }
-
-  world_obj->push_back(pingus);
 
   // After all objects are in world_obj, sort them to there z_pos
 #ifdef WIN32




reply via email to

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