summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-06-19 12:36:50 -0300
committerGeorge Marques <george@gmarqu.es>2016-06-19 12:36:50 -0300
commit5cb31f6d5b667a551092b699de6f4786e0bb5b6d (patch)
tree6365da78a507bd334e394d11a9bf3cd48dfdedef /scene/resources
parentf47d7b27cb70c8f454fd5a6461f817a2928d52e5 (diff)
Replace 'or'/'and' keywords
Some compilers do not like this.
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/animation.cpp b/scene/resources/animation.cpp
index b6fc3eb419..8f61c7b957 100644
--- a/scene/resources/animation.cpp
+++ b/scene/resources/animation.cpp
@@ -1235,7 +1235,7 @@ T Animation::_interpolate( const Vector< TKey<T> >& p_keys, float p_time, Inter
float c=0;
// prepare for all cases of interpolation
- if (loop and loop_interpolation) {
+ if (loop && loop_interpolation) {
// loop
if (idx>=0) {