Merged 15170:15635 from trunk (no conflicts or even merges)
[blender.git] / source / gameengine / GameLogic / SCA_AlwaysSensor.cpp
index 67df5d091aba3b9da7874833772a066ff187fef8..f9fbf2387c4776f1051047e4211663f2ebddca3c 100644 (file)
@@ -53,10 +53,13 @@ SCA_AlwaysSensor::SCA_AlwaysSensor(class SCA_EventManager* eventmgr,
        : SCA_ISensor(gameobj,eventmgr, T)
 {
        //SetDrawColor(255,0,0);
-       m_alwaysresult = true;
+       Init();
 }
 
-
+void SCA_AlwaysSensor::Init()
+{
+       m_alwaysresult = true;
+}
 
 SCA_AlwaysSensor::~SCA_AlwaysSensor()
 {