Author: jave27
Date: 2007-08-02 07:50:59 +0200 (Thu, 02 Aug 2007)
New Revision: 2774

Modified:
   branches/pingus_sdl/src/ground_map.cpp
Log:
Fix pitch calculation for removing parts of the ground map.



Modified: branches/pingus_sdl/src/ground_map.cpp
===================================================================
--- branches/pingus_sdl/src/ground_map.cpp      2007-08-02 04:15:17 UTC (rev 
2773)
+++ branches/pingus_sdl/src/ground_map.cpp      2007-08-02 05:50:59 UTC (rev 
2774)
@@ -202,7 +202,7 @@
   int twidth  = provider.get_width();
 
   int spitch = sprovider.get_pitch();
-  int tpitch = sprovider.get_pitch();
+  int tpitch = provider.get_pitch();
 
   int start_x = std::max(0, -x_pos);
   int start_y = std::max(0, -y_pos);



_______________________________________________
pingus-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pingus-cvs

Reply via email to