mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-12 21:47:03 +03:00
Revert "bullets can actually hit enemies now"
This reverts commit 86b75860da
.
This commit is contained in:
parent
86b75860da
commit
c0f92b3f36
1 changed files with 1 additions and 1 deletions
|
@ -826,7 +826,7 @@ FireWeaponType FireWeapon(int weaponType, ITEM_INFO* target, ITEM_INFO* src, sho
|
|||
}
|
||||
else
|
||||
{*/
|
||||
if (GetTargetOnLOS(&vSrc, &vDest, FALSE, TRUE))
|
||||
if (!GetTargetOnLOS(&vSrc, &vDest, FALSE, TRUE))
|
||||
HitTarget(target, &vDest, weapon->damage, NULL);
|
||||
//}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue