mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r1507) Remove unreachable code
This commit is contained in:
parent
34db065631
commit
9d1f7e7348
@ -913,7 +913,6 @@ void IConsoleVarDump(const _iconsole_var* var, const char* dump_desc)
|
|||||||
IConsolePrintF(_iconsole_color_default, "%s = %s",
|
IConsolePrintF(_iconsole_color_default, "%s = %s",
|
||||||
dump_desc, *var->data.bool_ ? "true" : "false");
|
dump_desc, *var->data.bool_ ? "true" : "false");
|
||||||
break;
|
break;
|
||||||
break;
|
|
||||||
case ICONSOLE_VAR_BYTE:
|
case ICONSOLE_VAR_BYTE:
|
||||||
case ICONSOLE_VAR_UINT8:
|
case ICONSOLE_VAR_UINT8:
|
||||||
IConsolePrintF(_iconsole_color_default, "%s = %u",
|
IConsolePrintF(_iconsole_color_default, "%s = %u",
|
||||||
|
@ -182,8 +182,6 @@ int32 CmdBuildLock(int x, int y, uint32 flags, uint32 p1, uint32 p2)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
return_cmd_error(STR_1000_LAND_SLOPED_IN_WRONG_DIRECTION);
|
return_cmd_error(STR_1000_LAND_SLOPED_IN_WRONG_DIRECTION);
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int32 CmdBuildCanal(int x, int y, uint32 flags, uint32 p1, uint32 p2)
|
int32 CmdBuildCanal(int x, int y, uint32 flags, uint32 p1, uint32 p2)
|
||||||
|
Loading…
Reference in New Issue
Block a user