[Top][All Lists]
[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); }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src editor_hotspot.hxx,1.6,1.7,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs ice_block.cxx,1.10,1.11 info_box.cxx,1.8,1.9 switch_door.cxx,1.9,1.10
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata smasher_data.cxx,1.1,1.2
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs ice_block.cxx,1.10,1.11 info_box.cxx,1.8,1.9 switch_door.cxx,1.9,1.10
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata smasher_data.cxx,1.1,1.2
- Index(es):