Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPorteries Tristan <republicthunderbolt9@gmail.com>2015-10-23 11:41:13 +0300
committerPorteries Tristan <republicthunderbolt9@gmail.com>2015-10-23 11:54:08 +0300
commit0d638172ec1fb8af808533f7d9535a52af23b33d (patch)
tree29ca2354b167548f05b1aa629285a80643e0ba1c /source/gameengine/GameLogic
parentd04ad07f9822b9052410f223e271cc298a79d25d (diff)
BGE: Fix T30179 action actuator not stoped when state changed.
The function SCA_IActuator::DecLink is now under virtual : in some case the actuator have to know when is useless.
Diffstat (limited to 'source/gameengine/GameLogic')
-rw-r--r--source/gameengine/GameLogic/SCA_IActuator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/SCA_IActuator.h b/source/gameengine/GameLogic/SCA_IActuator.h
index 8c22fb39c80..b63cb633b4e 100644
--- a/source/gameengine/GameLogic/SCA_IActuator.h
+++ b/source/gameengine/GameLogic/SCA_IActuator.h
@@ -156,7 +156,7 @@ public:
void ClrLink() { m_links=0; }
void IncLink() { m_links++; }
- void DecLink();
+ virtual void DecLink();
bool IsNoLink() const { return !m_links; }
bool IsType(KX_ACTUATOR_TYPE type) { return m_type == type; }