Explorar el Código

Animator: fix uninitialized variable

Streetwalrus Einstein hace 10 años
padre
commit
7e1c6d5faf
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/Animator.cpp

+ 1 - 0
src/Animator.cpp

@@ -29,6 +29,7 @@ namespace
 
 ANIMATOR::Animator()
 {
+    elapsed_time = 0;
 }
 
 void ANIMATOR::add_animation(int index, Animation anim)