[UIFeeder] Don't reset mapname
This commit is contained in:
parent
16d6c059dc
commit
ee63346c00
@ -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);
|
||||
}
|
||||
|
@ -3550,7 +3550,7 @@ namespace Game
|
||||
};
|
||||
|
||||
#pragma pack(push, 1)
|
||||
struct XFileHeader
|
||||
struct XFileHeader
|
||||
{
|
||||
unsigned __int64 magic;
|
||||
unsigned int version;
|
||||
|
Loading…
Reference in New Issue
Block a user