Bug #935 ยป 0009-Fix-client-crash-when-Leaving-the-game-to-main-menu.patch
client/mapview_common.c | ||
---|---|---|
****************************************************************************/
|
||
void update_animation(void)
|
||
{
|
||
if (animation_list_size(animations) > 0) {
|
||
if (animations != NULL && animation_list_size(animations) > 0) {
|
||
struct animation *anim = animation_list_get(animations, 0);
|
||
if (anim->finished) {
|