1
0

Lua seems to have trouble with a combination of overloaded functions and class inheritance, so I renamed TeleportTo( cEntity* ) to TeleportToEntity

/tp command should work again :)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@314 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
faketruth
2012-02-22 15:46:38 +00:00
parent 1d1b0fd00d
commit 41d55ef86b
5 changed files with 54 additions and 33 deletions

View File

@@ -111,7 +111,7 @@ void cPawn::KilledBy( cEntity* a_Killer )
void cPawn::TeleportTo( cEntity* a_Entity )
void cPawn::TeleportToEntity( cEntity* a_Entity )
{
TeleportTo( a_Entity->GetPosX(), a_Entity->GetPosY(), a_Entity->GetPosZ() );
}