From 8285a11a26d78784f26b76e6bcdfa479f6c1a345 Mon Sep 17 00:00:00 2001 From: faketruth Date: Tue, 8 Nov 2011 01:25:01 +0000 Subject: It's a Squirrel!! In SquirrelBindings.h use #define USE_SQUIRREL 1 to enable squirrel git-svn-id: http://mc-server.googlecode.com/svn/trunk@76 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cPlugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/cPlugin.cpp') diff --git a/source/cPlugin.cpp b/source/cPlugin.cpp index 10f5d74d3..5fc056a2d 100644 --- a/source/cPlugin.cpp +++ b/source/cPlugin.cpp @@ -5,6 +5,7 @@ cPlugin::cPlugin() : m_Version( 0 ) + , m_Language( E_CPP ) { } @@ -44,7 +45,7 @@ bool cPlugin::OnDisconnect( std::string a_Reason, cPlayer* a_Player ) return false; } -bool cPlugin::OnChat( std::string a_Chat, cPlayer* a_Player ) +bool cPlugin::OnChat( const char* a_Chat, cPlayer* a_Player ) { (void)a_Chat; (void)a_Player; -- cgit v1.2.3