Author: gentildemon
Date: Sat Nov 3 12:11:14 2007
New Revision: 3545
URL: http://svn.gna.org/viewcvs/wormux?rev=3545&view=rev
Log:
[BUGFIX] bug #10241 : Bazooka's "jet" sound played until game end
To reproduce the bug, the active character should be nearly outside the map.
Thus the weapon projectile is out of the map before the end of method
WeaponProjectile::Shoot(). Fixed by launching the "jet" sound before calling
WeaponProjectile::Shoot(), thus SignalOutOfMap() can really stop it.
Modified:
trunk/src/weapon/auto_bazooka.cpp
trunk/src/weapon/bazooka.cpp
trunk/src/weapon/disco_grenade.cpp
trunk/src/weapon/dynamite.cpp
trunk/src/weapon/riot_bomb.cpp
trunk/src/weapon/supertux.cpp
_______________________________________________
Wormux-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-cvs