pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/worldobjs hotspot.cxx,1.1,1.2 hotspot


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs hotspot.cxx,1.1,1.2 hotspot.hxx,1.1,1.2
Date: 24 Sep 2002 16:46:47 -0000

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

Modified Files:
        hotspot.cxx hotspot.hxx 
Log Message:
fixed little crashbug

Index: hotspot.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/hotspot.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- hotspot.cxx 24 Sep 2002 09:27:48 -0000      1.1
+++ hotspot.cxx 24 Sep 2002 16:46:45 -0000      1.2
@@ -25,8 +25,8 @@
 namespace WorldObjs {
 
 Hotspot::Hotspot (WorldObjsData::HotspotData* data_)
-  : sprite(data->desc),
-    data(new WorldObjsData::HotspotData(*data_))
+  : data(new WorldObjsData::HotspotData(*data_)),
+    sprite(data->desc)
 {
   if (verbose > 2)
     std::cout << "Creating Hotspot" << std::endl;

Index: hotspot.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/hotspot.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- hotspot.hxx 24 Sep 2002 09:27:48 -0000      1.1
+++ hotspot.hxx 24 Sep 2002 16:46:45 -0000      1.2
@@ -32,8 +32,8 @@
 class Hotspot : public WorldObj
 {
 private:
-  Sprite sprite;
   WorldObjsData::HotspotData* const data;
+  Sprite sprite;
 
 public:
   Hotspot (WorldObjsData::HotspotData* data_);





reply via email to

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