ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/anim.C
(Generate patch)

Comparing deliantra/server/common/anim.C (file contents):
Revision 1.18 by root, Fri Jan 19 17:50:10 2007 UTC vs.
Revision 1.19 by root, Mon Feb 5 02:17:28 2007 UTC

134 fclose (fp); 134 fclose (fp);
135 LOG (llevDebug, "done. got (%d)\n", num_animations); 135 LOG (llevDebug, "done. got (%d)\n", num_animations);
136} 136}
137 137
138static int 138static int
139anim_compare (const animation * a, const animation * b) 139anim_compare (const animation *a, const animation *b)
140{ 140{
141 return strcmp (a->name, b->name); 141 return std::strcmp (a->name, b->name);
142} 142}
143 143
144/* Tries to find the animation id that matches name. Returns an integer match 144/* Tries to find the animation id that matches name. Returns an integer match
145 * 0 if no match found (animation 0 is initialised as the 'bug' face 145 * 0 if no match found (animation 0 is initialised as the 'bug' face
146 */ 146 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines