ThePhrozenKeep / D2MOO

Reimplementation of the Diablo2 game coupled with patching facilities for modders.
MIT License
93 stars 29 forks source link

MISSILES_CreateMissileFromParams-rangeFix #143

Closed nooperation closed 9 months ago

nooperation commented 9 months ago

D2Game.0x6FC55360 MISSILES_CreateMissileFromParams

nRange should come from pMissilesTxtRecord when the high bit of byte (dwFlags>> 8) is not set. The comparison can be found at D2Game.0x6FC557D9

Lectem commented 9 months ago

Thanks for the fix, the check was indeed inverted !