diff options
author | smatz <smatz@openttd.org> | 2008-08-25 20:54:34 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-08-25 20:54:34 +0000 |
commit | 6074de33d0de12514fa747bcec30beb8bd3c2b66 (patch) | |
tree | 42fa63ac300807cc8271f18d5ce378744da7412a /src/rail_cmd.cpp | |
parent | c805cd6328506c54e4786ac806f1d884844bdeca (diff) | |
download | openttd-6074de33d0de12514fa747bcec30beb8bd3c2b66.tar.xz |
(svn r14176) -Fix: better 'safe' than ... 'save'
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 992eddd25..eea934a6c 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -1521,7 +1521,7 @@ static CommandCost ClearTile_Track(TileIndex tile, byte flags) /** * Get surface height in point (x,y) - * On tiles with halftile foundations move (x,y) to a save point wrt. track + * On tiles with halftile foundations move (x,y) to a safe point wrt. track */ static uint GetSaveSlopeZ(uint x, uint y, Track track) { @@ -2519,7 +2519,7 @@ static CommandCost TestAutoslopeOnRailTile(TileIndex tile, uint flags, uint z_ol { if (!_settings_game.construction.build_on_slopes || !AutoslopeEnabled()) return CMD_ERROR; - /* Is the slope-rail_bits combination valid in general? I.e. is it save to call GetRailFoundation() ? */ + /* Is the slope-rail_bits combination valid in general? I.e. is it safe to call GetRailFoundation() ? */ if (CmdFailed(CheckRailSlope(tileh_new, rail_bits, TRACK_BIT_NONE, tile))) return CMD_ERROR; /* Get the slopes on top of the foundations */ |