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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cPawn.h') diff --git a/source/cPawn.h b/source/cPawn.h index b35350392..11b59575e 100644 --- a/source/cPawn.h +++ b/source/cPawn.h @@ -25,7 +25,7 @@ public: cPawn(); virtual ~cPawn(); - virtual void TeleportTo( cEntity* a_Entity ); //tolua_export + virtual void TeleportToEntity( cEntity* a_Entity ); //tolua_export virtual void TeleportTo( const double & a_PosX, const double & a_PosY, const double & a_PosZ ); //tolua_export virtual void Tick(float a_Dt) override; -- cgit v1.2.3