1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-20 04:59:11 +00:00

Cleanup: remove unneeded CopyOutDParam version with StringID

This commit is contained in:
Rubidium
2023-06-22 18:49:32 +02:00
committed by rubidium42
parent 4654b2b0aa
commit b2edf82b69
3 changed files with 1 additions and 13 deletions

View File

@@ -122,7 +122,7 @@ void ErrorMessageData::CopyOutDParams()
/* Get parameters using type information */
if (this->textref_stack_size > 0) StartTextRefStackUsage(this->textref_stack_grffile, this->textref_stack_size, this->textref_stack);
CopyOutDParam(this->params, 20, this->detailed_msg == INVALID_STRING_ID ? this->summary_msg : this->detailed_msg);
CopyOutDParam(this->params, 20);
if (this->textref_stack_size > 0) StopTextRefStackUsage();
}