(svn r23027) -Fix: in some cases NewGRF string arguments were popped twice from the newgrf textstack

This commit is contained in:
yexo
2011-10-12 19:25:52 +00:00
parent e0b530ca58
commit e6a2682b93
3 changed files with 6 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ void RewindTextRefStack();
bool UsingNewGRFTextStack();
struct TextRefStack *CreateTextRefStackBackup();
void RestoreTextRefStackBackup(struct TextRefStack *backup);
uint RemapNewGRFStringControlCode(uint scc, char *buf_start, char **buff, const char **str, int64 *argv);
uint RemapNewGRFStringControlCode(uint scc, char *buf_start, char **buff, const char **str, int64 *argv, bool modify_argv);
StringID TTDPStringIDToOTTDStringIDMapping(StringID string);