Dynamic animation count, not completed, but it'll keep backward compatibility.
Fix charge animation bug (get stuck if you have a loop animation).
Authored by: utunnels 2007-04-30
Parent: [r832]
Child: [r834]