[FIX] ZConfiguration PrimaryWeapon not saving
Iazzetta opened this issue · comments
Guilherme IA commented
When you change primaryweapon (late dash config), not saving. This is the fix for it. (from 1.5)
Search for bool ZConfiguration::LoadConfig(const char szFileName)* and change:
actionKeyElement.GetAttribute(&nKey,"alt",-1);
if(nKey!=-1)
to:
actionKeyElement.GetAttribute(&nKey,"alt",-2);
if(nKey!=-2)
Lotus commented
Iirc, _ASSERT is only executed in Debug builds.
They should not get executed in any of the Release builds(including RelWithDebugInfo).
You should keep this uncommented for development purposes in Debug builds.