-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Package: wormux Severity: normal Found: 0.7.4-3 0.7.9-3
It would be nice if this bug would be fixed in Etch. - -------- Original Message -------- Subject: [Wormux-dev] patch for the firing angle bug Date: Tue, 27 Feb 2007 10:21:57 +0100 From: yeKcim <[EMAIL PROTECTED]> Reply-To: Talk about development of Wormux <[email protected]> To: Discution sur le d& #233; veloppement de Wormux. <[email protected]>, [EMAIL PROTECTED] I'm stupid moderator i clic on bad button : FROM johannes : hi, I just discovered a bug an already made a patch for it. When you switch beetween Weapons with different max/min firing angles, it sometimes happens, that the weapon is pointing in a direction not allowed for this weapon. An example: Switch to the sniper. Set the firing angle, to shoot below your character. Switch to the Ninja Rope. The Ninja Rope points still below your character, but this is not allowed for the Ninja Rope. Patch: in src/team/team.cpp void Team::SetWeapon (Weapon::Weapon_type type) { AccessWeapon().Deselect(); active_weapon = WeaponsList::GetInstance()->GetWeapon(type); AccessWeapon().Select(); + active_character->SetFiringAngle(active_character->GetFiringAngle()); } This could be also put in Weapon::Select(), but I don't think, that is much different. Should I also fill in a bugzilla bugreport? johannes _______________________________________________ Wormux-dev mailing list [email protected] https://mail.gna.org/listinfo/wormux-dev - -- Regards, EddyP ============================================= "Imagination is more important than knowledge" A.Einstein -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF5CUcY8Chqv3NRNoRApRjAKDWYZjpF0qyp6B895F2nMO6bKXaUwCgjMbi uWycUe8nClnND24Li1UzGoU= =RqgN -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

