From dd180a1e1883336a1edc3b4d6eac440f06e3685b Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 23 Apr 2006 13:48:16 +0000 Subject: (svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums --- functions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.h') diff --git a/functions.h b/functions.h index 2603fa0c7..3d47bca61 100644 --- a/functions.h +++ b/functions.h @@ -9,7 +9,7 @@ void FindLandscapeHeight(TileInfo *ti, uint x, uint y); void DoClearSquare(TileIndex tile); void RunTileLoop(void); -uint GetPartialZ(int x, int y, int corners); +uint GetPartialZ(int x, int y, Slope corners); uint GetSlopeZ(int x, int y); uint32 GetTileTrackStatus(TileIndex tile, TransportType mode); void GetAcceptedCargo(TileIndex tile, AcceptedCargo ac); -- cgit v1.2.3-54-g00ecf