Update of bug #7376 (project wormux):

                  Status:                    None => Fixed                  
             Assigned to:                    None => gr3yfox                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

I fixed it. Now class Weapon has this new field:

  // Allows or not the character selection with mouse click (tab is allowed)
  // This is used in weapons like the automated bazooka, where it's required
  // a target. Default is true.
  bool MOUSE_CHARACTER_SELECTION;

mouse.cpp now checks for MOUSE_CHARACTER_SELECTION value before proceeding
with character selection. Weapons that needs a target should set
MOUSE_CHARACTER_SELECTION to true into their constructor.
air attack, automated bazooka and anvil have now MOUSE_CHARACTER_SELECTION
set to false.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to