# HG changeset patch # User yoctozepto # Date 1378301221 -7200 # Node ID 091c5eb46a0e4c8438e9fb43ffd3dc7a0315c8b1 # Parent c3da3c2985b82ed0780ea945073498a7e2ba6a07 Fix size of byte_5111F6, it must include unk_511206 (as byte). diff -r c3da3c2985b8 -r 091c5eb46a0e UI/UICharacter.cpp --- a/UI/UICharacter.cpp Wed Sep 04 14:34:59 2013 +0200 +++ b/UI/UICharacter.cpp Wed Sep 04 15:27:01 2013 +0200 @@ -1764,7 +1764,7 @@ } } } - memset(byte_5111F6.data(), 0, 16); + memset(byte_5111F6.data(), 0, sizeof(byte_5111F6)); for (uint i = 0; i < 4; ++i) { auto player = pParty->pPlayers + i; diff -r c3da3c2985b8 -r 091c5eb46a0e mm7_data.cpp --- a/mm7_data.cpp Wed Sep 04 14:34:59 2013 +0200 +++ b/mm7_data.cpp Wed Sep 04 15:27:01 2013 +0200 @@ -1012,7 +1012,7 @@ char pStartingMapName[32]; // idb std::array IsPlayerWearingWatersuit; std::array party_has_equipment; -std::array byte_5111F6; +std::array byte_5111F6; int _unused000; // weak diff -r c3da3c2985b8 -r 091c5eb46a0e mm7_data.h --- a/mm7_data.h Wed Sep 04 14:34:59 2013 +0200 +++ b/mm7_data.h Wed Sep 04 15:27:01 2013 +0200 @@ -660,7 +660,7 @@ extern char pStartingMapName[32]; // idb extern std::array IsPlayerWearingWatersuit; extern std::array party_has_equipment; -extern std::array byte_5111F6; +extern std::array byte_5111F6; extern std::array papredoll_dbrds; extern int bRingsShownInCharScreen; // weak