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 teleporter_target_obj.cxx,


From: torangan
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editorobjs teleporter_target_obj.cxx,1.5,1.6
Date: 12 Oct 2002 00:49:12 -0000

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

Modified Files:
        teleporter_target_obj.cxx 
Log Message:
removed a few variable shadowings


Index: teleporter_target_obj.cxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/editorobjs/teleporter_target_obj.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- teleporter_target_obj.cxx   28 Sep 2002 11:52:25 -0000      1.5
+++ teleporter_target_obj.cxx   12 Oct 2002 00:49:10 -0000      1.6
@@ -42,9 +42,8 @@
 std::string
 TeleporterTargetObj::status_line()
 {
-  const Vector& pos_ref = teleporter->get_target_pos_ref();
   char str[128];
-  snprintf(str, 128, "TeleporterTarget - %f %f %f", pos_ref.x, pos_ref.y, 
pos_ref.z);
+  snprintf(str, 128, "TeleporterTarget - %f %f %f", pos_ref->x, pos_ref->y, 
pos_ref->z);
   return str;
 }
 





reply via email to

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