From 2fd6e728513f46e1f313667dfcf6b3d6e09cad39 Mon Sep 17 00:00:00 2001 From: Kester Maddock Date: Sun, 16 May 2004 13:05:15 +0000 Subject: Changed Python _getattr/_setattr methods to use const STR_String& instead of char* - makes using these methods much nicer. --- source/gameengine/GameLogic/SCA_PythonController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gameengine/GameLogic/SCA_PythonController.cpp') diff --git a/source/gameengine/GameLogic/SCA_PythonController.cpp b/source/gameengine/GameLogic/SCA_PythonController.cpp index a96e17e67d2..e21916e060e 100644 --- a/source/gameengine/GameLogic/SCA_PythonController.cpp +++ b/source/gameengine/GameLogic/SCA_PythonController.cpp @@ -274,7 +274,7 @@ void SCA_PythonController::Trigger(SCA_LogicManager* logicmgr) -PyObject* SCA_PythonController::_getattr(char* attr) +PyObject* SCA_PythonController::_getattr(const STR_String& attr) { _getattr_up(SCA_IController); } -- cgit v1.2.3