[08:27:41] <Dominus> the culprit is actually the last line in the actors::clear_flag asleep: Usecode_script::terminate(this);
[08:27:54] <Dominus> If I comment this out, no clones as well
[08:28:13] <Dominus> so the hunt goes on... for what happens there...
[08:44:59] <wjp> interesting
[08:52:01] <wjp> I was hoping it wouldn't be that one :-)
[08:52:35] <Dominus> :)
[08:53:42] <Dominus> I can't quite find what that comes from. can it reference the later *this in actors.cc ?
[08:57:02] <wjp> it's Usecode_script::terminate in usecode/ucsched.cc
[08:57:19] <wjp> the 'this' argument is the actor that that clear_flag is called on
[08:58:18] <wjp> that ::terminate function then loops over all running Usecode_scripts and halts the ones associated with this actor
[08:58:43] <wjp> what that does of course depends on which scripts are currently running for an actor
[08:59:00] <wjp> so this has the potential of being extremely invasive
[09:03:52] <Dominus> so, if I get it right it's best to really check whether the npc is asleep before running this in egg.cc. because, if I get it right, the fire field eventually kills the npc and *THEN* it clears the asleep flag on the dead npc and whatever usecode_script a dead party member has running
[09:03:56] * Serel nods and strokes his chin despite not being in the dev team. And only a novice coder at best...
[10:36:39] <Dominus> hmm, wjp, doesn't this have potential to break scripts in SI? I'm not sure but aren't there scenes where the Avatar is hit by fire fields? Wouldn't the first hit break the scene?
[10:36:58] * Dominus is not really sure if there are such scenes though
[10:41:28] <Dominus> Marzo added this Usecode_script::terminate(this); in rev 6168
[10:41:46] <Dominus> so I better wait for him to look at it when he has time tomorrow or so
[17:11:18] <Dominus> I committed this because I think it is the right way unless there is more to Usecode_script::terminate(this);
[18:46:51] --- Marzo1 is now known as Marzo
[21:58:53] <Dominus> colourless, I just noticed, on top of not releasing the files after leaving the main menu setup, you cannot access the setup if you don't have BG or FoV installed :)
[23:18:32] <Marzo> Dominus: you there?