(svn r11946) -Fix: slope detection of bridge ramps.

YAPF failed for steep slopes.
  Trolly failed for a lot.
This commit is contained in:
frosch
2008-01-22 16:08:17 +00:00
parent 7d1e3086b8
commit b99c83246b
4 changed files with 24 additions and 26 deletions

View File

@@ -32,6 +32,7 @@ extern const Bridge orig_bridge[MAX_BRIDGES];
extern Bridge _bridge[MAX_BRIDGES];
Foundation GetBridgeFoundation(Slope tileh, Axis axis);
bool HasBridgeFlatRamp(Slope tileh, Axis axis);
static inline const Bridge *GetBridge(uint i)
{