1
0

Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua API

This commit is contained in:
tonibm19
2014-02-03 20:52:11 +01:00
parent 2450d0467f
commit c2e7dd34d9
6 changed files with 13 additions and 3 deletions

View File

@@ -2339,7 +2339,7 @@ bool cWorld::FindAndDoWithPlayer(const AString & a_PlayerNameHint, cPlayerListCa
// TODO: This interface is dangerous!
cPlayer * cWorld::FindClosestPlayer(const Vector3f & a_Pos, float a_SightLimit, bool a_CheckLineOfSight)
cPlayer * cWorld::FindClosestPlayer(const Vector3d & a_Pos, float a_SightLimit, bool a_CheckLineOfSight)
{
cTracer LineOfSight(this);