mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-16 11:16:42 -04:00
revision of events
This commit is contained in:
parent
858c4384e8
commit
669f72908e
33 changed files with 661 additions and 382 deletions
|
@ -232,15 +232,16 @@ void enter_event(T_EVENT_ROOT **tree,EVENT_MSG *msg)
|
|||
va_end(cpy.data);
|
||||
p->calls--;
|
||||
p->nezavora=1;
|
||||
if (msg->msg==-2)
|
||||
if (cpy.msg==-2)
|
||||
{
|
||||
p->proc=NULL;
|
||||
msg->msg=ev;
|
||||
cpy.msg=ev;
|
||||
}
|
||||
s=p->next;
|
||||
if (!p->calls && p->proc==NULL)
|
||||
force_delete_curr(tree,r,p);
|
||||
if (msg->msg==-1) break;
|
||||
if (cpy.msg==-1)
|
||||
break;
|
||||
}
|
||||
/* if (p->next!=s)
|
||||
if (r->list!=p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue