summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-08-25 20:54:34 +0000
committersmatz <smatz@openttd.org>2008-08-25 20:54:34 +0000
commit6074de33d0de12514fa747bcec30beb8bd3c2b66 (patch)
tree42fa63ac300807cc8271f18d5ce378744da7412a /src/rail_cmd.cpp
parentc805cd6328506c54e4786ac806f1d884844bdeca (diff)
downloadopenttd-6074de33d0de12514fa747bcec30beb8bd3c2b66.tar.xz
(svn r14176) -Fix: better 'safe' than ... 'save'
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r--src/rail_cmd.cpp4
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 */