From 7f5f48281c301344a3f007037f49c2d12b5ebf10 Mon Sep 17 00:00:00 2001 From: belugas Date: Tue, 5 Feb 2008 05:21:02 +0000 Subject: (svn r12066) -Codechange: Rename GetBridge for the more common GetBridgeSpec -Codechange: Remove direct access to the _bridge table in favor of the above mentioned GetBridgeSpec -Codechange: Rationalize the use of Bridge type pointer --- 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 9088e96c1..29afd06b1 100644 --- a/src/bridge.h +++ b/src/bridge.h @@ -35,7 +35,7 @@ extern Bridge _bridge[MAX_BRIDGES]; Foundation GetBridgeFoundation(Slope tileh, Axis axis); bool HasBridgeFlatRamp(Slope tileh, Axis axis); -static inline const Bridge *GetBridge(uint i) +static inline const Bridge *GetBridgeSpec(uint i) { assert(i < lengthof(_bridge)); return &_bridge[i]; -- cgit v1.2.3-70-g09d2