diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-02-21 15:43:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-02-21 15:43:24 +0300 |
commit | 9d5c2af1d1e11d40fec6c0da96cb37de1684f13c (patch) | |
tree | 2f59b3a9179b98a1dc6893af3ac2258cbea196c1 /source/gameengine/GameLogic/SCA_PropertyActuator.cpp | |
parent | a3b684d69878eaff3e0ad475264485419e0c029f (diff) |
* removed typedefs that were not used (from anonymous enums and structs)
* Missed some cases of using a 'char *' as an attribute
* replace BGE's Py_Return macro with Pythons Py_RETURN_NONE
* other minor warnings removed
Diffstat (limited to 'source/gameengine/GameLogic/SCA_PropertyActuator.cpp')
-rw-r--r-- | source/gameengine/GameLogic/SCA_PropertyActuator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/GameLogic/SCA_PropertyActuator.cpp b/source/gameengine/GameLogic/SCA_PropertyActuator.cpp index 644b82a92bf..c9ace081bae 100644 --- a/source/gameengine/GameLogic/SCA_PropertyActuator.cpp +++ b/source/gameengine/GameLogic/SCA_PropertyActuator.cpp @@ -298,7 +298,7 @@ PyObject* SCA_PropertyActuator::PySetProperty(PyObject* self, PyObject* args, Py } prop->Release(); - Py_Return; + Py_RETURN_NONE; } /* 2. getProperty */ @@ -328,7 +328,7 @@ PyObject* SCA_PropertyActuator::PySetValue(PyObject* self, PyObject* args, PyObj if (valArg) m_exprtxt = valArg; - Py_Return; + Py_RETURN_NONE; } /* 4. getValue */ |