1
0

LuaState: Projectiles are pushed using their full class.

This commit is contained in:
Mattes D 2014-10-22 16:06:16 +02:00
parent bfd1a9601a
commit 7ed27c6b80

View File

@ -589,7 +589,7 @@ void cLuaState::Push(cEntity * a_Entity)
}
case cEntity::etProjectile:
{
tolua_pushusertype(m_LuaState, a_Entity, "cProjectileEntity");
tolua_pushusertype(m_LuaState, a_Entity, a_Entity->GetClass());
break;
}
case cEntity::etFloater: