Fixed the OnProjectileHitBlock hook not stopping projectiles.
This commit is contained in:
parent
379d403443
commit
98a12127ce
@ -69,7 +69,7 @@ protected:
|
|||||||
{
|
{
|
||||||
if (cPluginManager::Get()->CallHookProjectileHitBlock(*m_Projectile))
|
if (cPluginManager::Get()->CallHookProjectileHitBlock(*m_Projectile))
|
||||||
{
|
{
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Vector3d Intersection = Line1 + m_Projectile->GetSpeed() * LineCoeff;
|
Vector3d Intersection = Line1 + m_Projectile->GetSpeed() * LineCoeff;
|
||||||
|
Loading…
Reference in New Issue
Block a user