UFO: Alien Invasion Issue Tracker
Please log in to bookmark issues
CLOSED  Bug report #497  -  Cannot send grenade
Posted Feb 13, 2007 - updated Jan 28, 2013
icon_info.png This issue has been closed with status "Closed" and resolution "Not determined".
Issue details
  • Type of issue
    Bug report
  • Status
  • Assigned to
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
  • Resolution
    Not determined
  • Priority
    3. Normal
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Not determined
  • Platform
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
Issue description
Item 497 imported from sourceforge.net tracker on 2013-01-28 18:21:29

In battlefield, the soldier has a hand grenade (fragmention) in left hand. Selection "Throw" or "Roll" displays "No item in hand" and nothing happens.
Comments Ported from Sourceforge  ⇑ top
decamps (2007-02-13 22:33:15)  ⇑ top
decamps (2007-02-13 22:33:16)  ⇑ top
Logged In: YES user_id=698517 Originator: YES

Cl_CheckMenuAction considers there is no item when weapon->item.m == NONE I consider this is not true if the weapon is of type "grenade". This patch implements this behaviour. File Added: ufo_1659350.patch
voovoos (2007-02-13 23:33:21)  ⇑ top
Logged In: YES user_id=194458 Originator: NO

Thanks for this report. I've introduced this bug yesterday in revision 6302, and I believe I fixed in revision 6314, thanks for your hunting. smileys/2.png

There is another bug with grenades used in left hand: sometimes you do not get neither line of fire nor crosshair, but you will lob/roll it anyway when you press leftclick (shoot). This bug is under investigation.
voovoos (2007-02-14 00:36:37)  ⇑ top
Logged In: YES user_id=194458 Originator: NO

And that another bug should be fixed in revision 6315, please test.
decamps (2007-02-19 00:23:25)  ⇑ top
Logged In: YES user_id=698517 Originator: YES

1. Your patch is better than mine (item.t instead of item.m)

2. The other bug with the line of fire which does not appear seems fixed, too.

Steps to reproduce this issue
Nothing entered.