[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs groundpiece_obj.cxx,1.3,1.
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs groundpiece_obj.cxx,1.3,1.4 |
Date: |
7 Oct 2002 13:12:50 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/editorobjs
In directory dark:/tmp/cvs-serv6685/editorobjs
Modified Files:
groundpiece_obj.cxx
Log Message:
groundpieces must not have a z-pos, so we zero it away. A correct fix would be
probally to get completly rid of the z-pos, but that would cause other problems
Index: groundpiece_obj.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/groundpiece_obj.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- groundpiece_obj.cxx 28 Sep 2002 11:52:24 -0000 1.3
+++ groundpiece_obj.cxx 7 Oct 2002 13:12:48 -0000 1.4
@@ -31,6 +31,9 @@
data(new WorldObjsData::GroundpieceData(data_)),
gptype(data->gptype)
{
+ // Groundpieces must not have a z-pos
+ data->pos.z = 0;
+
pos_ref = &data->pos;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/editorobjs groundpiece_obj.cxx,1.3,1.4,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor object_manager.hxx,1.21,1.22
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs surface_background.cxx,1.4,1.5 teleporter.cxx,1.14,1.15 teleporter.hxx,1.16,1.17
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor object_manager.hxx,1.21,1.22
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs surface_background.cxx,1.4,1.5 teleporter.cxx,1.14,1.15 teleporter.hxx,1.16,1.17
- Index(es):