pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/editorobjs surface_background_obj.cxx


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editorobjs surface_background_obj.cxx,1.1,1.2
Date: 17 Sep 2002 22:52:38 -0000

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

Modified Files:
        surface_background_obj.cxx 
Log Message:
- fixed off-by-one bug in the View
- fixed position bug in the surface background

Index: surface_background_obj.cxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/editorobjs/surface_background_obj.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- surface_background_obj.cxx  16 Sep 2002 20:52:22 -0000      1.1
+++ surface_background_obj.cxx  17 Sep 2002 22:52:36 -0000      1.2
@@ -24,9 +24,10 @@
 namespace EditorObjs {
 
 SurfaceBackgroundObj::SurfaceBackgroundObj 
(WorldObjsData::SurfaceBackgroundData* data_)
-  : SpriteEditorObj (data_->desc.res_name, data_->desc.datafile, &data_->pos),
+  : SpriteEditorObj (data_->desc.res_name, data_->desc.datafile),
     data(new WorldObjsData::SurfaceBackgroundData(*data_))
 {
+  pos_ref = &data->pos;
 }
 
 SurfaceBackgroundObj::~SurfaceBackgroundObj ()





reply via email to

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