mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 04:29:09 +00:00
Fix b408fe7
: Don't try to construct a std::string from nullptr
This commit is contained in:
@@ -539,7 +539,7 @@ void ClientNetworkContentSocketHandler::AfterDownload()
|
||||
|
||||
TarScanner ts;
|
||||
std::string fname = GetFullFilename(this->curInfo, false);
|
||||
ts.AddFile(sd, fname.c_str());
|
||||
ts.AddFile(sd, fname);
|
||||
|
||||
if (this->curInfo->type == CONTENT_TYPE_BASE_MUSIC) {
|
||||
/* Music can't be in a tar. So extract the tar! */
|
||||
|
Reference in New Issue
Block a user