--- deliantra/server/common/anim.C 2006/09/14 22:33:58 1.10 +++ deliantra/server/common/anim.C 2006/12/13 21:27:09 1.11 @@ -26,8 +26,6 @@ #include #include -std::vector animations; - void free_all_anim (void) { @@ -68,7 +66,7 @@ anim0.name = "###none"; anim0.num_animations = 1; - anim0.faces = (Fontindex *) malloc (sizeof (Fontindex)); + anim0.faces = (uint16 *)malloc (sizeof (uint16)); anim0.faces[0] = 0; anim0.facings = 0; @@ -106,7 +104,7 @@ } else if (!strncmp (buf, "mina", 4)) { - animations[num_animations].faces = (Fontindex *) malloc (sizeof (Fontindex) * num_frames); + animations[num_animations].faces = (uint16 *) malloc (sizeof (uint16) * num_frames); for (i = 0; i < num_frames; i++) animations[num_animations].faces[i] = faces[i]; animations[num_animations].num_animations = num_frames;