Changeset - r17925:ed0c3ec5ab97
[Not reviewed]
master
0 1 0
frosch - 13 years ago 2011-08-13 10:44:15
frosch@openttd.org
(svn r22740) -Fix [FS#4708]: Display the size of the leveled platform in the measurement tooltip of terraforming operations.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/viewport.cpp
Show inline comments
 
@@ -2789,8 +2789,8 @@ calc_heightdiff_single_direction:;
 
				if (dx != 1 || dy != 1) {
 
					int heightdiff = CalcHeightdiff(style, 0, t0, t1);
 

	
 
					params[index++] = dx;
 
					params[index++] = dy;
 
					params[index++] = dx - (style & HT_POINT ? 1 : 0);
 
					params[index++] = dy - (style & HT_POINT ? 1 : 0);
 
					if (heightdiff != 0) params[index++] = heightdiff;
 
				}
 

	
0 comments (0 inline, 0 general)