Home » MODDING HQ 1.13 » v1.13 General Development Talk » Hand to hand fighting (bug report) (Wrong mouse cursor during hand to hand fighting)
Re: Hand to hand fighting (bug report)[message #358290 is a reply to message #358286] Sat, 19 October 2019 12:24 Go to previous messageGo to previous message
silversurfer

 
Messages:2791
Registered:May 2009
I don't think we should turn off interactive tile actions during combat. We may want to use them, for example refill a canteen.

The problem I see is the initial if condition. It will always trigger if we have nothing in hand. If the enemy just stole our weapon we can't even punch him in the face for it. So my suggestion would be to change the condition from:

if ( ubCursor == INVALIDCURS || usInHand == NONE )
to:
if ( ubCursor == INVALIDCURS )

This way it would only trigger if we do not have an action selected already.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Report message to a moderator

Lieutenant
 
Read Message icon8.gif
Read Message
Read Message icon14.gif
Read Message icon8.gif
Previous Topic: How to change loading screens?
Next Topic: Using older sti-graphics
Goto Forum:
  


Current Time: Wed Feb 12 21:09:03 GMT+2 2025

Total time taken to generate the page: 0.00661 seconds