소스 검색

Animator: fix uninitialized variable

Streetwalrus Einstein 10 년 전
부모
커밋
7e1c6d5faf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)