[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs/entrances woodthing.cxx,1.2
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs/entrances woodthing.cxx,1.2,1.3 |
Date: |
5 Nov 2002 03:02:51 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/worldobjs/entrances
In directory dark:/tmp/cvs-serv26098/worldobjs/entrances
Modified Files:
woodthing.cxx
Log Message:
added some init/deinit functions
Index: woodthing.cxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/worldobjs/entrances/woodthing.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- woodthing.cxx 1 Oct 2002 19:53:46 -0000 1.2
+++ woodthing.cxx 5 Nov 2002 03:02:48 -0000 1.3
@@ -50,6 +50,7 @@
if (rand() % 5 == 0)
{
+ // FIXME: Memory leak
world->get_particle_holder()
->add_particle(new SmokeParticle(static_cast<int>(data->pos.x -
surface.get_width () / 2 - 24),
static_cast<int>(data->pos.y -
surface.get_height() + 32 - 147),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldobjs/entrances woodthing.cxx,1.2,1.3,
grumbel <=