This commit is contained in:
lzwdgc 2024-02-13 21:48:39 +03:00
parent 074c91d7c4
commit 8c68330365

View file

@ -63,7 +63,7 @@ struct mmo_storage
std::vector<OrganizationBase> organizationBases; std::vector<OrganizationBase> organizationBases;
Prices prices; Prices prices;
uint32_t unk0 = 0; uint32_t music_and_sounds_section_size = 0;
void load(const buffer &b) void load(const buffer &b)
{ {
@ -72,7 +72,7 @@ struct mmo_storage
if (b.eof()) // custom maps if (b.eof()) // custom maps
return; return;
mapGoods.load(b); mapGoods.load(b);
READ(b, unk0); READ(b, music_and_sounds_section_size);
mapMusic.load(b); mapMusic.load(b);
mapSounds.load(b); mapSounds.load(b);
if (gameType == GameType::Aim2) if (gameType == GameType::Aim2)