mirror of https://github.com/OpenTTD/OpenTTD
Fix: Insufficient input validation for CmdIndustryCtrl. (#9711)
parent
793de48e89
commit
20a30825a0
|
@ -2118,7 +2118,7 @@ CommandCost CmdIndustryCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
NOT_REACHED();
|
return CMD_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
return CommandCost();
|
return CommandCost();
|
||||||
|
|
Loading…
Reference in New Issue