From 2fec4d8e3ccde7278be8e45997061cbd98c9cecb Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 23 Nov 2008 13:42:05 +0000 Subject: (svn r14610) -Fix [FS#2415]: possible stack corruption when reading corrupted sprites. -Change: harden the sprite reading routine against corrupt sprites. --- src/lang/english.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lang') diff --git a/src/lang/english.txt b/src/lang/english.txt index f4341aa84..4a8f8f243 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -3234,6 +3234,7 @@ STR_NEWGRF_ERROR_STATIC_GRF_CAUSES_DESYNC :Loading {RAW_ST STR_NEWGRF_ERROR_UNEXPECTED_SPRITE :Unexpected sprite. STR_NEWGRF_ERROR_UNKNOWN_PROPERTY :Unknown Action 0 property. STR_NEWGRF_ERROR_INVALID_ID :Attempt to use invalid ID. +STR_NEWGRF_ERROR_CORRUPT_SPRITE :{YELLOW}{RAW_STRING} contains a corrupt sprite. All corrupt sprites will be shown as a red question mark (?). STR_NEWGRF_PRESET_LIST_TIP :{BLACK}Load the selected preset STR_NEWGRF_PRESET_SAVE :{BLACK}Save preset -- cgit v1.2.3-70-g09d2