mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
Bugfixing:
- Added missing types for serialization - Fixed possible crash in removable objects (campfire) - Fixed typo in bank config
This commit is contained in:
@ -256,7 +256,7 @@ DLL_LINKAGE void MetaString::toString(std::string &dst) const
|
||||
boost::replace_first(dst, "%+d", '+' + boost::lexical_cast<std::string>(numbers[nums++]));
|
||||
break;
|
||||
default:
|
||||
logGlobal->errorStream() << "MetaString processing error!";
|
||||
logGlobal->errorStream() << "MetaString processing error! Received message of type " << int(elem);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -313,7 +313,7 @@ DLL_LINKAGE std::string MetaString::buildList () const
|
||||
lista.replace (lista.find("%d"), 2, boost::lexical_cast<std::string>(numbers[nums++]));
|
||||
break;
|
||||
default:
|
||||
logGlobal->errorStream() << "MetaString processing error!";
|
||||
logGlobal->errorStream() << "MetaString processing error! Received message of type " << int(message[i]);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user