Changeset - r3673:3629e1b0d970
[Not reviewed]
master
0 1 0
Darkvater - 19 years ago 2006-04-27 08:24:48
darkvater@openttd.org
(svn r4590) - Fix (r4585): warning: suggest parentheses around && within ||. Sorry
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
road_cmd.c
Show inline comments
 
@@ -388,7 +388,7 @@ do_clear:;
 
	ret = CheckRoadSlope(tileh, &pieces, existing);
 
	/* Return an error if we need to build a foundation (ret != 0) but the
 
	 * current patch-setting is turned off (or stupid AI@work) */
 
	if (CmdFailed(ret) || ret != 0 && (!_patches.build_on_slopes || _is_old_ai_player))
 
	if (CmdFailed(ret) || (ret != 0 && (!_patches.build_on_slopes || _is_old_ai_player)))
 
		return_cmd_error(STR_1000_LAND_SLOPED_IN_WRONG_DIRECTION);
 

	
 
	cost += ret;
0 comments (0 inline, 0 general)