Follow-up Comment #2, bug #8656 (project wormux):

For airhammer, SignalTurnEnd already contains "m_is_active = false" but you
are generally pressing the shoot key when hurted/dying... 

The result is that an ACTION_WEAPON_SHOOT is generated before state is set to
END_TURN but executed after (setting m_is_active to true)!! That's why the
turn does not end.

I tried to Force execution of action before setting state by calling
ActionHandler::GetInstance()->ExecActions but it results in an assertion I
don't understand :

14847|include/action_handler.cpp:void ActionHandler::Exec(Action*):539|
action_handler : Executing action WEAPON_shoot
o MSG: OpenSSH has fallen off the map!
14847|include/action_handler.cpp:void ActionHandler::Exec(Action*):539|
action_handler : Executing action WEAPON_shoot

include/action.cpp:234: Missed assertion "var.size() > 0".


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?8656>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to