Update of bug #9550 (project wormux):
Severity: 4 - Important => 5 - Blocker
_______________________________________________________
Follow-up Comment #1:
From a theoretical point of view, in my mind the side does not matter. I must
admit that I have reproduced the bug easilly on that side and was unable to do
on the other side.
Again, this bug is due to the boolean Weapon::m_is_active. You call
Weapon::shoot(), which calls WeaponProjectile::Shoot(), the missile goes (or
is ?) directly outside the world.
This is now end of Weapon::Shoot(), m_is_active is set to true...
10306|weapon/weapon.cpp:void Weapon::PrepareShoot(double, double):248|
weapon.shoot : Try to shoot with strength:29,250000, angle:-0,350000
10306|character/character.cpp:void Character::PrepareShoot():532|
weapon.shoot : -> begin
10306|character/character.cpp:void Character::PrepareShoot():536|
weapon.shoot : -> call DoShoot
10306|character/character.cpp:void Character::DoShoot():556| weapon.shoot :
-> begin
10306|weapon/weapon.cpp:bool Weapon::Shoot():259| weapon.shoot : Enough ammo
? 1
10306|weapon/weapon.cpp:bool Weapon::Shoot():260| weapon.shoot : Enough ammo
unit ? 1
10306|weapon/weapon.cpp:bool Weapon::Shoot():261| weapon.shoot : Use unit on
1st shoot ? 1
10306|weapon/weapon.cpp:bool Weapon::Shoot():284| weapon.shoot : Enough ammo
10306|weapon/weapon.cpp:bool Weapon::Shoot():291| weapon.shoot : Firemonger
Shooting at position:1177,1071 (hand: 1178,1095)
10306|weapon/launcher.cpp:virtual void WeaponProjectile::Shoot(double):132|
weapon.projectile : shoot with strength:29,250000
10306|weapon/launcher.cpp:virtual void
WeaponProjectile::SignalGhostState(bool):244| weapon.projectile :
SignalGhostState rocket: 1201, 1087
o MSG: La roquette est partie dans un autre monde...
10306|weapon/launcher.cpp:virtual void
WeaponProjectile::SignalOutOfMap():252| weapon.projectile : SignalOutOfMap
rocket: 1201, 1087
10306|weapon/launcher.cpp:virtual void WeaponProjectile::Shoot(double):153|
weapon.projectile : shoot with hand position:1178,1095
10306|weapon/launcher.cpp:virtual void WeaponProjectile::Shoot(double):155|
weapon.projectile : shoot with strength:29,250000, angle:-0,350000,
position:1201,1087
10306|weapon/weapon.cpp:bool Weapon::Shoot():296| weapon.shoot : shoot!
10306|character/character.cpp:void Character::DoShoot():562| weapon.shoot :
<- end
10306|character/character.cpp:void Character::PrepareShoot():539|
weapon.shoot : <- end of call DoShoot
10306|character/character.cpp:void Character::PrepareShoot():543|
weapon.shoot : <- end
10306|weapon/weapon.cpp:void Weapon::PrepareShoot(double, double):254|
weapon.shoot : End of shoot
10306|weapon/weapon.cpp:void Weapon::Deselect():188| weapon.change : Deselect
Bazooka
10306|game/game_loop.cpp:void GameLoop::__SetState_HAS_PLAYED():490|
game.statechange : Has played, now can move
10306|game/game_loop.cpp:void GameLoop::__SetState_END_TURN():499|
game.statechange : End of turn
10306|game/game_loop.cpp:bool GameLoop::IsAnythingMoving():590|
game.endofturn : Weapon Bazooka is still active
10306|game/game_loop.cpp:bool GameLoop::IsAnythingMoving():590|
game.endofturn : Weapon Bazooka is still active
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?9550>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna