Difference for common/anim.c from version 1.14 to 1.15


version 1.14 version 1.15
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_anim_c =   * static char *rcsid_anim_c =
  *   "$Id: anim.c,v 1.14 2003/03/19 08:04:48 mwedel Exp $";   *   "$Id: anim.c,v 1.15 2003/05/26 05:28:55 mwedel Exp $";
  */   */
   
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
   
     Copyright (C) 2002 Mark Wedel & Crossfire Development Team      Copyright (C) 2002-2003 Mark Wedel & Crossfire Development Team
     Copyright (C) 1992 Frank Tore Johansen      Copyright (C) 1992 Frank Tore Johansen
   
     This program is free software; you can redistribute it and/or modify      This program is free software; you can redistribute it and/or modify
Line 159
 
Line 159
  dump_object(op);   dump_object(op);
  return;   return;
     }      }
     ++op->state;    /* increase draw state */      if (op->head) {
    dir=op->head->direction;
   
     if (op->head) dir=op->head->direction;   if (NUM_ANIMATIONS(op) == NUM_ANIMATIONS(op->head))
        op->state = op->head->state;
    else
        ++op->state;
       }
       else {
    ++op->state;    /* increase draw state */
       }
   
     /* If object is turning, then max animation state is half through the      /* If object is turning, then max animation state is half through the
      * animations.  Otherwise, we can use all the animations.       * animations.  Otherwise, we can use all the animations.


Legend:
line(s) removed in v.1.14 
line(s) changed
 line(s) added in v.1.15

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:04