Fixed event parameter type judgement (#117)

ref: https://modenc.renegadeprojects.com/Events/RA2YR
This commit is contained in:
handama 2024-11-21 11:20:03 +08:00 committed by GitHub
parent ab27f7ffd5
commit f2150618d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -437,7 +437,7 @@ void CTriggerEventsDlg::OnSelchangeParameter()
CString Param1 = GetParam(g_data["EventsRA2"][GetParam(EventData, startpos)], 1);
CString Code = GetParam(g_data["ParamTypes"][Param1], 2);
//MessageBox(Param1, Code);
if (atoi(Code) != 0) curparam--;
if (atoi(Code) == 2) curparam--;
#endif
// END FIx