Fixed compilation error in MessageFactory.cpp

This commit is contained in:
KiritoDv 2025-04-23 14:26:22 -06:00
parent 01512e92a3
commit 0bf0a435ff

View file

@ -22,8 +22,9 @@ std::vector<std::string> gASCIIFullTable = {
std::vector<std::pair<uint16_t*, int32_t>> gCustomMessageTable; std::vector<std::pair<uint16_t*, int32_t>> gCustomMessageTable;
std::shared_ptr<Ship::IResource> ResourceFactoryBinaryMessageV0::ReadResource(std::shared_ptr<Ship::File> file) { std::shared_ptr<Ship::IResource> ResourceFactoryBinaryMessageV0::ReadResource(std::shared_ptr<Ship::File> file,
if (!FileHasValidFormatAndReader(file)) { std::shared_ptr<Ship::ResourceInitData> initData) {
if (!FileHasValidFormatAndReader(file, initData)) {
return nullptr; return nullptr;
} }