summaryrefslogtreecommitdiff
path: root/BlockCondition.cpp
diff options
context:
space:
mode:
authorKris Parker2009-11-16 13:18:37 +0000
committerKris Parker2009-11-16 13:18:37 +0000
commit19125adb43dd200c8d78fbb47a99c82a116f1dc7 (patch)
tree3018809eb9ed4d4e01ef5a99ae819f6bf0627466 /BlockCondition.cpp
parent42e5dbdadd0e95f24d8c46d72f3ed1a62492649b (diff)
downloadstonesense-19125adb43dd200c8d78fbb47a99c82a116f1dc7.tar.gz
stonesense-19125adb43dd200c8d78fbb47a99c82a116f1dc7.tar.bz2
stonesense-19125adb43dd200c8d78fbb47a99c82a116f1dc7.tar.xz
animation support from branch
Diffstat (limited to 'BlockCondition.cpp')
-rw-r--r--BlockCondition.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/BlockCondition.cpp b/BlockCondition.cpp
index 5b8931a..8fa32e5 100644
--- a/BlockCondition.cpp
+++ b/BlockCondition.cpp
@@ -136,8 +136,8 @@ AnimationFrameCondition::AnimationFrameCondition(const char* strValue)
bool AnimationFrameCondition::Matches(Block* b)
{
//not doing animation yet: always frame 0
- return this->value==0;
- //return this->value == currentAnimationFrame;
+ //return this->value==0;
+ return this->value == currentAnimationFrame;
}