Fix: Insufficient input validation for CmdIndustryCtrl. (#9711)

This commit is contained in:
Michael Lutz 2021-11-20 23:27:45 +01:00 committed by Patric Stout
parent a4428a0cbe
commit 94dfd1df21
1 changed files with 1 additions and 1 deletions

View File

@ -2118,7 +2118,7 @@ CommandCost CmdIndustryCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
}
default:
NOT_REACHED();
return CMD_ERROR;
}
return CommandCost();