Stupid me!
Instead of debugging all this with debug prinf()s etc, we could also have looked
at the BACKTRACE that gcc gives.
/home/matthias/vcs/git/freedroid/src/lua.c:1815
/home/matthias/vcs/git/freedroid/src/mission.c:180
/home/matthias/vcs/git/freedroid/src/lua.c:479
/home/matthias/vcs/git/freedroid/src/lua.c:1786
/home/matthias/vcs/git/freedroid/src/chat.c:829
/home/matthias/vcs/git/freedroid/src/influ.c:1556
/home/matthias/vcs/git/freedroid/src/influ.c:1647
/home/matthias/vcs/git/freedroid/src/main.c:106
/home/matthias/vcs/git/freedroid/src/main.c:182
=> /home/matthias/vcs/git/freedroid/src/mission.c:180
is
179 if (Me.AllMissions[MissNum].completion_lua_code)
180 run_lua(LUA_DIALOG, Me.AllMissions[MissNum].completion_lua_code);
181
182 Me.quest_browser_changed = 1;
:D |