1
0

Added a blockface parameter to the OnProjectileHitBlock hook.

This commit is contained in:
STRWarrior
2014-03-30 13:44:28 +02:00
parent 98a12127ce
commit 47d5395d24
6 changed files with 8 additions and 8 deletions

View File

@@ -67,7 +67,7 @@ protected:
eBlockFace Face;
if (bb.CalcLineIntersection(Line1, Line2, LineCoeff, Face))
{
if (cPluginManager::Get()->CallHookProjectileHitBlock(*m_Projectile))
if (cPluginManager::Get()->CallHookProjectileHitBlock(*m_Projectile, Face))
{
return false;
}