Update of bug #16074 (project wormux):

             Assigned to:                    None => fuzxxl                 

    _______________________________________________________

Follow-up Comment #1:

I got now, from where the problem derives:
When you try to change your current weapon, the method
Weapon::CanChangeWeapon() is called. The tests there are too weak to be a
real barrier.

My idea to solve this, is to introduce a virtual method in class Weapon
called bool mayChangeWeapon(), which has to be false, if the change of a
weapon should be prevented. The default value of this variable is true. If
you load another weapon, the result of ActiveWeapon() will be exchanged and
mayChangeWeapon will be true again.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16074>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to