diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-03-01 22:05:41 +0300 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-03-01 22:05:41 +0300 |
commit | 407b2d334d2facab83f847045aca45cc9ab49cde (patch) | |
tree | 6eb787af4645ba4f6ac1a36a7489cfe90efdd748 /source/gameengine/GameLogic/SCA_ISensor.h | |
parent | 8d81e154f60744b49c89ef79ec2f4b0325b1effe (diff) |
unknown property fixed in sensor/actuators
Diffstat (limited to 'source/gameengine/GameLogic/SCA_ISensor.h')
-rw-r--r-- | source/gameengine/GameLogic/SCA_ISensor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/gameengine/GameLogic/SCA_ISensor.h b/source/gameengine/GameLogic/SCA_ISensor.h index 469ea3995b8..8de4480cf2e 100644 --- a/source/gameengine/GameLogic/SCA_ISensor.h +++ b/source/gameengine/GameLogic/SCA_ISensor.h @@ -97,6 +97,11 @@ public: bool negmode, int freq); + /** Release sensor + * For property sensor, it is used to release the pre-calculated expression + * so that self references are removed before the sensor itself is released + */ + virtual void Delete() { Release(); } /** Set inversion of pulses on or off. */ void SetInvert(bool inv); |