From d624f66c794109a22787685a3aa53d6cf35a02ba Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 26 Jul 2007 16:51:10 +0000 Subject: (svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch. --- src/bridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bridge.h') diff --git a/src/bridge.h b/src/bridge.h index 76fc6934e..6565f983f 100644 --- a/src/bridge.h +++ b/src/bridge.h @@ -27,7 +27,7 @@ struct Bridge { extern const Bridge orig_bridge[MAX_BRIDGES]; extern Bridge _bridge[MAX_BRIDGES]; -uint GetBridgeFoundation(Slope tileh, Axis axis); +Foundation GetBridgeFoundation(Slope tileh, Axis axis); static inline const Bridge *GetBridge(uint i) { -- cgit v1.2.3-54-g00ecf