Game Development Community

Bug in Player::getControlObject

by Scott Richards · in Torque Game Engine · 05/16/2008 (3:57 am) · 0 replies

I received a request to repeat this here.

In player.cc, this should return an INT not a FLOAT.
ConsoleMethod( Player, getControlObject, F32, 2, 2, "Get the current control object.")

Fix:
ConsoleMethod( Player, getControlObject, [b]S32[/b], 2, 2, "Get the current control object.")

RE: http://www.garagegames.com/mg/forums/result.thread.php?qt=72063

About the author

I am an artist, a programmer, and a rogue developer, subbornly chasing a dream, trying to make the game I want to play.