forked from mirror/OpenTTD
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
This commit is contained in:
@@ -529,9 +529,9 @@ bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspe
|
||||
SwitchToNormalRefStack();
|
||||
|
||||
switch (group->g.callback.result) {
|
||||
case 0x401: _error_message = STR_0239_SITE_UNSUITABLE; break;
|
||||
case 0x402: _error_message = STR_0317_CAN_ONLY_BE_BUILT_IN_RAINFOREST; break;
|
||||
case 0x403: _error_message = STR_0318_CAN_ONLY_BE_BUILT_IN_DESERT; break;
|
||||
case 0x401: _error_message = STR_ERROR_SITE_UNSUITABLE; break;
|
||||
case 0x402: _error_message = STR_ERROR_CAN_ONLY_BE_BUILT_IN_RAINFOREST; break;
|
||||
case 0x403: _error_message = STR_ERROR_CAN_ONLY_BE_BUILT_IN_DESERT; break;
|
||||
default: _error_message = GetGRFStringID(indspec->grf_prop.grffile->grfid, 0xD000 + group->g.callback.result); break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user