mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-04-28 12:27:59 +03:00
Fixed compilation error in MessageFactory.cpp
This commit is contained in:
parent
01512e92a3
commit
0bf0a435ff
1 changed files with 3 additions and 2 deletions
|
@ -22,8 +22,9 @@ std::vector<std::string> gASCIIFullTable = {
|
|||
|
||||
std::vector<std::pair<uint16_t*, int32_t>> gCustomMessageTable;
|
||||
|
||||
std::shared_ptr<Ship::IResource> ResourceFactoryBinaryMessageV0::ReadResource(std::shared_ptr<Ship::File> file) {
|
||||
if (!FileHasValidFormatAndReader(file)) {
|
||||
std::shared_ptr<Ship::IResource> ResourceFactoryBinaryMessageV0::ReadResource(std::shared_ptr<Ship::File> file,
|
||||
std::shared_ptr<Ship::ResourceInitData> initData) {
|
||||
if (!FileHasValidFormatAndReader(file, initData)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue