Changeset - r4340:af73a1f84b2c
[Not reviewed]
master
0 1 0
truelight - 18 years ago 2006-08-21 18:18:02
truelight@openttd.org
(svn r6041) -Fix r6040: forgot to declare a function in viewport.c
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
viewport.c
Show inline comments
 
@@ -106,12 +106,13 @@ typedef struct ViewportDrawer {
 

	
 
static ViewportDrawer *_cur_vd;
 

	
 
TileHighlightData _thd;
 
static TileInfo *_cur_ti;
 

	
 
extern void SmallMapCenterOnCurrentPos(Window *w);
 

	
 
static Point MapXYZToViewport(const ViewPort *vp, uint x, uint y, uint z)
 
{
 
	Point p = RemapCoords(x, y, z);
 
	p.x -= vp->virtual_width / 2;
 
	p.y -= vp->virtual_height / 2;
0 comments (0 inline, 0 general)