From 41d55ef86b14abd9fbbdce7d6b2518b20b0cb33c Mon Sep 17 00:00:00 2001 From: faketruth Date: Wed, 22 Feb 2012 15:46:38 +0000 Subject: 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 --- source/cPawn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cPawn.cpp') diff --git a/source/cPawn.cpp b/source/cPawn.cpp index ed16f57bb..4ec75eaa9 100644 --- a/source/cPawn.cpp +++ b/source/cPawn.cpp @@ -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() ); } -- cgit v1.2.3