mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-04-30 09:01:41 -04:00
Fixed event parameter type judgement (#117)
ref: https://modenc.renegadeprojects.com/Events/RA2YR
This commit is contained in:
parent
ab27f7ffd5
commit
f2150618d4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue