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

Comparing deliantra/server/server/main.C (file contents):
Revision 1.89 by root, Sun Feb 4 17:51:12 2007 UTC vs.
Revision 1.90 by root, Fri Feb 9 01:52:11 2007 UTC

370 /* Animate the object. Bug or feature that anim_speed 370 /* Animate the object. Bug or feature that anim_speed
371 * is based on ticks, and not the creatures speed? 371 * is based on ticks, and not the creatures speed?
372 */ 372 */
373 if (op->anim_speed && op->last_anim >= op->anim_speed) 373 if (op->anim_speed && op->last_anim >= op->anim_speed)
374 { 374 {
375 if ((op->type == PLAYER)) 375 animate_object (op, op->type == PLAYER ? op->facing : op->direction);
376 animate_object (op, op->facing);
377 else
378 animate_object (op, op->direction);
379 376
380 op->last_anim = 1; 377 op->last_anim = 1;
381 } 378 }
382 else 379 else
383 op->last_anim++; 380 op->last_anim++;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines