Follow-up Comment #8, bug #9462 (project wormux):
As I thought, it's a duplicate of bug #8656.
You die when you are shooting, the SignalEndOfTurn is send to the weapon
which disable the weapon, but an action shoot has been added to the
action_handler just before you die. The action is then executed, and the
weapon is enable again...
But now, I don't explain how it can occur.
9399|include/action_handler.cpp:void ActionHandler::NewAction(Action*,
bool):630| action_handler : New action : WEAPON_shoot
9399|include/action_handler.cpp:void ActionHandler::Exec(Action*):658|
action_handler : Executing action WEAPON_shoot
9399|weapon/weapon.cpp:void Weapon::PrepareShoot(double, double):258|
weapon.shoot : Try to shoot with strength:0,000000, angle:0,000000
o MSG: Not UNIX est tombé dans l'eau.
9399|include/action_handler.cpp:void ActionHandler::NewAction(Action*,
bool):630| action_handler : New action : GAMELOOP_set_state
9399|include/action_handler.cpp:void ActionHandler::Exec(Action*):658|
action_handler : Executing action GAMELOOP_set_state
9399|game/game_loop.cpp:void GameLoop::__SetState_END_TURN():524|
game.statechange : End of turn
9399|weapon/weapon.cpp:bool Weapon::Shoot():268| weapon.shoot : Enough ammo ?
1
9399|weapon/weapon.cpp:bool Weapon::Shoot():269| weapon.shoot : Enough ammo
unit ? 1
9399|weapon/weapon.cpp:bool Weapon::Shoot():270| weapon.shoot : Use unit on
1st shoot ? 1
9399|weapon/weapon.cpp:bool Weapon::Shoot():293| weapon.shoot : Enough ammo
9399|weapon/weapon.cpp:bool Weapon::Shoot():300| weapon.shoot : Not UNIX
Shooting at position:119,1383 (hand: 142,1416)
9399|weapon/weapon.cpp:bool Weapon::Shoot():305| weapon.shoot : shoot!
9399|game/game_loop.cpp:bool GameLoop::IsAnythingMoving():615| game.endofturn
: Weapon Marteau piqueur is still active
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?9462>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna