Hi, thanks a lot for the bug report and the patch :-)
I have commited it in the trunk, we just need to backport it to 0.7.9. I have filled a bug report to keep trace. If you are interested to contribute more to the project, you are welcome :) Send email or speak with us on irc.freenode.net #wormux Bye, matt (gentildemon) Selon yeKcim <[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 > Wormux-dev@gna.org > https://mail.gna.org/listinfo/wormux-dev > -- _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev