Taosenai / tmr

TMR Modular Realism for Arma 3
http://www.ryanschultz.org/tmr/
20 stars 10 forks source link

tmr_autorest does not take the players direction into account. #41

Closed Nocory closed 10 years ago

Nocory commented 10 years ago

The _refPoint x- and y-coordinates are modified without taking the players direction into account, when checking for suitable positions. (line 352 to 357)

There also seems to be a copypaste error in line 350 where the selectionPosition of "LeftHand" is assigned to _rh.

Example of the _refPoint positions, when the player is facing east arma3 2014-03-30 12-12-50-61

Taosenai commented 10 years ago

This is a fine result of excessive optimization. I saved you 0.006 seconds of calculation to bring you this bug.

Fixing now.

Taosenai commented 10 years ago

Fixed in 0.4.2