pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src editor_hotspot.hxx,1.6,1.7


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src editor_hotspot.hxx,1.6,1.7
Date: 10 Sep 2002 14:33:09 -0000

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

Modified Files:
        editor_hotspot.hxx 
Log Message:
well, not a nice fix for the SpriteObj reference problem, but a working one.
a better solution might be to sync the position data of spriteobj and the 
editorobj on a write call, since its not needed before

Index: editor_hotspot.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor_hotspot.hxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- editor_hotspot.hxx  23 Aug 2002 15:49:48 -0000      1.6
+++ editor_hotspot.hxx  10 Sep 2002 14:33:07 -0000      1.7
@@ -31,8 +31,10 @@
 public:
   EditorHotspot (const HotspotData& data)
     : HotspotData (data),
-      SpriteEditorObj (desc, pos)
-  {}
+      SpriteEditorObj (desc)
+  {
+    pos_ref = &pos;
+  }
 
   void write_xml(std::ostream& xml) { HotspotData::write_xml (xml); }
 





reply via email to

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