Open OpenBW opened 8 years ago
unit.getUnitsInWeaponRange(weapon) consistently crashes the VM.
To my knowledge this can always be reproduced by calling the method as follows: unit.getUnitsInWeaponRange(unit.getType().groundWeapon())
unit.getUnitsInWeaponRange(weapon) consistently crashes the VM.
To my knowledge this can always be reproduced by calling the method as follows: unit.getUnitsInWeaponRange(unit.getType().groundWeapon())