[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r2774 - branches/pingus_sdl/src
From: |
jave27 |
Subject: |
[Pingus-CVS] r2774 - branches/pingus_sdl/src |
Date: |
Thu, 2 Aug 2007 07:51:17 +0200 |
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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r2774 - branches/pingus_sdl/src,
jave27 <=