diff options
author | frosch <frosch@openttd.org> | 2012-12-14 20:38:02 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-12-14 20:38:02 +0000 |
commit | d7e9c8efed108146fb19f572833ed9ce09c94dc1 (patch) | |
tree | 71299b3e30b2d04f0c16d0cc43c29249f1d581e9 | |
parent | 7ec5395832044c3fa8b271a58c7bd6ae68acf29b (diff) | |
download | openttd-d7e9c8efed108146fb19f572833ed9ce09c94dc1.tar.xz |
(svn r24821) -Add: When using a non-release version of OpenTTD and the basegraphics are missing some sprites, also suggest to use a non-release version of the basegraphics.
-rw-r--r-- | src/lang/english.txt | 1 | ||||
-rw-r--r-- | src/newgrf.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt index 0baa88f1b..d3019c08f 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -2716,6 +2716,7 @@ STR_NEWGRF_ERROR_CORRUPT_SPRITE :{YELLOW}{RAW_ST STR_NEWGRF_ERROR_MULTIPLE_ACTION_8 :Contains multiple Action 8 entries (sprite {3:NUM}) STR_NEWGRF_ERROR_READ_BOUNDS :Read past end of pseudo-sprite (sprite {3:NUM}) STR_NEWGRF_ERROR_MISSING_SPRITES :{WHITE}The currently used base graphics set is missing a number of sprites.{}Please update the base graphics set +STR_NEWGRF_ERROR_MISSING_SPRITES_UNSTABLE :{WHITE}The currently used base graphics set is missing a number of sprites.{}Please update the base graphics set.{}Since you are playing a {YELLOW}development snapshot of OpenTTD{WHITE}, you might also need a {YELLOW}development snapshot of the base graphics{WHITE} STR_NEWGRF_ERROR_GRM_FAILED :Requested GRF resources not available (sprite {3:NUM}) STR_NEWGRF_ERROR_FORCEFULLY_DISABLED :{1:RAW_STRING} was disabled by {2:RAW_STRING} STR_NEWGRF_ERROR_INVALID_SPRITE_LAYOUT :Invalid/unknown sprite layout format (sprite {3:NUM}) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index bd3b1ee73..9a2c4dbbd 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -5595,7 +5595,7 @@ void CheckForMissingSprites() } if (missing) { - ShowErrorMessage(STR_NEWGRF_ERROR_MISSING_SPRITES, INVALID_STRING_ID, WL_CRITICAL); + ShowErrorMessage(IsReleasedVersion() ? STR_NEWGRF_ERROR_MISSING_SPRITES : STR_NEWGRF_ERROR_MISSING_SPRITES_UNSTABLE, INVALID_STRING_ID, WL_CRITICAL); } } |