Technical support > Feature Requests

Mortars

<< < (12/17) > >>

DarkRain:

--- Quote from: H-Hour on June 12, 2012, 09:42:41 pm ---I've noticed this discrepancy between visible range and actual range. I'm not sure how to fix it but will continue to bring it up. A lot of the battlescape requires complex math and solutions are not always that easy to find.

--- End quote ---
CL_TargetingGrenade() is using velocity instead of distance to check the range, the attached patch should fix it.

H-Hour:
Yay! I hope someone can get this into master soon.

kurja:

--- Quote from: DarkRain on June 13, 2012, 08:49:12 pm ---CL_TargetingGrenade() is using velocity instead of distance to check the range, the attached patch should fix it.

--- End quote ---

great! now, all I need is to find out what do I do to apply that patch? =)

DarkRain:
If you are using git:

--- Code: ---git am path/to/patch.patch
--- End code ---

kurja:
thanks, I find it still shows 5 or so squares too much range :/

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version