pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3


From: torangan
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3
Date: 12 Oct 2002 00:49:13 -0000

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

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


Index: liquid.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/liquid.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- liquid.cxx  27 Sep 2002 18:36:41 -0000      1.2
+++ liquid.cxx  12 Oct 2002 00:49:10 -0000      1.3
@@ -51,10 +51,10 @@
 void
 Liquid::on_startup ()
 {
-  CL_Surface sur = PingusResource::load_surface("Liquid/water_cmap", "global");
+  CL_Surface sur_ = PingusResource::load_surface("Liquid/water_cmap", 
"global");
 
   for(int i=0; i < data->width; ++i)
-    world->get_colmap()->put(sur,
+    world->get_colmap()->put(sur_,
                              static_cast<int>(data->pos.x + i),
                             static_cast<int>(data->pos.y),
                             Groundtype::GP_WATER);





reply via email to

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