BGE logic patch: fix another incompatibility with YF.
Previous patch was not sorting the state actuators. This was causing some problems with YoFrankie that relies on the order of actuators when multiple state actuators are activated at once. Active state actuators will now be sorted per object. This doesn't change the fact that state actuators are executed before all other actuators as before. Incidently, made the logic loop faster.
This commit is contained in:
@@ -41,7 +41,8 @@
|
||||
MT_Point3 SCA_IObject::m_sDummy=MT_Point3(0,0,0);
|
||||
SG_QList SCA_IObject::m_activeBookmarkedControllers;
|
||||
|
||||
SCA_IObject::SCA_IObject(PyTypeObject* T): CValue(T), m_initState(0), m_state(0)
|
||||
SCA_IObject::SCA_IObject(PyTypeObject* T): CValue(T), m_initState(0), m_state(0), m_firstState(NULL)
|
||||
|
||||
{
|
||||
m_suspended = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user