Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

[zeditor] Crash-to-desktop when right-clicking Link To... in FFC Editor

0 replies · 527 views · Started 18 February 2024

Steps to recreate:

[LIST=1]
[*]Screen->Freeform Combos
[*]Click Edit in "Choose Freeform Combo" window
[*]rclick the "Link to:" dropdown in the Data tab of the FFC Editor
[/LIST]

Here in drop_down_list.cpp is the assertion that failed because event == 8 (geRCLICK)


int32_t DropDownList:😮nEvent(int32_t event, MessageDispatcher& sendMessage)
{
assert(event == geCHANGE_SELECTION);
if(onSelectFunc)
onSelectFunc(listData->getValue(alDialog->d1));
if(message >= 0)
sendMessage(message, listData->getValue(alDialog->d1));
return -1;
}