From 5988659eea20d3e84fdeadf448133e9b94e9630f Mon Sep 17 00:00:00 2001 From: yexo Date: Wed, 21 Dec 2011 14:55:28 +0000 Subject: (svn r23651) -Feature: [NoGo] GSText now accepts string arguments as parameters to the constructor --- src/script/api/game/game_text.hpp.sq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script/api/game') diff --git a/src/script/api/game/game_text.hpp.sq b/src/script/api/game/game_text.hpp.sq index d43506580..8a35279d0 100644 --- a/src/script/api/game/game_text.hpp.sq +++ b/src/script/api/game/game_text.hpp.sq @@ -19,7 +19,7 @@ void SQGSText_Register(Squirrel *engine) { DefSQClass SQGSText("GSText"); SQGSText.PreRegister(engine); - SQGSText.AddConstructor(engine, "xi"); + SQGSText.AddSQAdvancedConstructor(engine); SQGSText.DefSQConst(engine, ScriptText::SCRIPT_TEXT_MAX_PARAMETERS, "SCRIPT_TEXT_MAX_PARAMETERS"); -- cgit v1.2.3-70-g09d2