diff options
author | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-06-04 07:00:13 +0400 |
---|---|---|
committer | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-06-04 07:00:13 +0400 |
commit | 44f45894c2fca8f7e0b7bbfff0e50f24e6c993a5 (patch) | |
tree | 740e361ce3f2fb47885348bed9b0ff5cd537a9ad /source/gameengine/GameLogic | |
parent | 4ff321d50773166712a611233437c7b19183087c (diff) |
Miscellaneous Fixes:
Add Python Mapping method to CListValue
Fix Bernoulli bool distribution python method for random actuator
Fix Python IpoActuator methods setProperty and force acts local
Make data objects private
Better sort method for polygon materials - much easier to understand
Diffstat (limited to 'source/gameengine/GameLogic')
-rw-r--r-- | source/gameengine/GameLogic/SCA_ILogicBrick.h | 2 | ||||
-rw-r--r-- | source/gameengine/GameLogic/SCA_RandomActuator.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/GameLogic/SCA_ILogicBrick.h b/source/gameengine/GameLogic/SCA_ILogicBrick.h index 5199f66f409..588c5ca7aba 100644 --- a/source/gameengine/GameLogic/SCA_ILogicBrick.h +++ b/source/gameengine/GameLogic/SCA_ILogicBrick.h @@ -39,6 +39,7 @@ class SCA_ILogicBrick : public CValue { Py_Header; +protected: SCA_IObject* m_gameobj; int m_Execute_Priority; int m_Execute_Ueber_Priority; @@ -48,7 +49,6 @@ class SCA_ILogicBrick : public CValue STR_String m_text; STR_String m_name; //unsigned long m_drawcolor; -protected: void RegisterEvent(CValue* eventval); void RemoveEvent(); CValue* GetEvent(); diff --git a/source/gameengine/GameLogic/SCA_RandomActuator.cpp b/source/gameengine/GameLogic/SCA_RandomActuator.cpp index 4bc0e2539f0..d483f400064 100644 --- a/source/gameengine/GameLogic/SCA_RandomActuator.cpp +++ b/source/gameengine/GameLogic/SCA_RandomActuator.cpp @@ -495,7 +495,7 @@ PyObject* SCA_RandomActuator::PySetBoolBernouilli(PyObject* self, return NULL; } - m_distribution = KX_RANDOMACT_BOOL_CONST; + m_distribution = KX_RANDOMACT_BOOL_BERNOUILLI; m_parameter1 = paraArg; enforceConstraints(); Py_Return; |