summaryrefslogtreecommitdiff
path: root/scene/animation/animation_player.cpp
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/animation/animation_player.cpp
parentf47d7b27cb70c8f454fd5a6461f817a2928d52e5 (diff)
Replace 'or'/'and' keywords
Some compilers do not like this.
Diffstat (limited to 'scene/animation/animation_player.cpp')
-rw-r--r--scene/animation/animation_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp
index 0ff6931dcd..dd4fa992ac 100644
--- a/scene/animation/animation_player.cpp
+++ b/scene/animation/animation_player.cpp
@@ -572,7 +572,7 @@ void AnimationPlayer::_animation_process_data(PlaybackData &cd,float p_delta,flo
} else {
- if (next_pos<0 or next_pos>len) {
+ if (next_pos<0 || next_pos>len) {
if (!backwards)
next_pos=0;
else if (backwards)