summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 8be44488d..b03a722b7 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -2118,7 +2118,7 @@ CommandCost CmdIndustryCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
}
default:
- NOT_REACHED();
+ return CMD_ERROR;
}
return CommandCost();