[UIFeeder] Don't reset mapname

This commit is contained in:
momo5502 2017-01-21 18:34:29 +01:00
parent 16d6c059dc
commit ee63346c00
2 changed files with 4 additions and 4 deletions

View File

@ -274,12 +274,12 @@ namespace Components
Utils::Hook::Call<void(const char*)>(0x503B50)(mapname);
}
void UIFeeder::DoubleClickMapFeeder(const char* dvar_name, const char* name)
void UIFeeder::DoubleClickMapFeeder(const char* /*dvar_name*/, const char* /*name*/)
{
Dvar::Var(dvar_name).set(name);
//Game::Dvar_SetStringByName(dvar_name, name);
// Party_SetDisplayMapName
Utils::Hook::Call<void(const char*)>(0x503B50)(name);
//Utils::Hook::Call<void(const char*)>(0x503B50)(name);
Command::Execute("closemenu settings_map", false);
}

View File

@ -3550,7 +3550,7 @@ namespace Game
};
#pragma pack(push, 1)
struct XFileHeader
struct XFileHeader
{
unsigned __int64 magic;
unsigned int version;