mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 11:23:21 +00:00
Fix: Insufficient input validation for CmdIndustryCtrl. (#9711)
This commit is contained in:
parent
a4428a0cbe
commit
94dfd1df21
@ -2118,7 +2118,7 @@ CommandCost CmdIndustryCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
|
||||
}
|
||||
|
||||
default:
|
||||
NOT_REACHED();
|
||||
return CMD_ERROR;
|
||||
}
|
||||
|
||||
return CommandCost();
|
||||
|
Loading…
Reference in New Issue
Block a user