Fixed StateAnim crash.
Fixed StateAnim crash.

svn path=/trunk/libavg/; revision=4307

libavg/libavg,libavg/libavg,yyd01245/libavg,hoodie/libavg,scotty007/libavg,hoodie/libavg,libavg/libavg,th3infinity/libavg,scotty007/libavg,hoodie/libavg,th3infinity/libavg,yyd01245/libavg,yyd01245/libavg,scotty007/libavg,hoodie/libavg,th3infinity/libavg,th3infinity/libavg,yyd01245/libavg,scotty007/libavg,libavg/libavg