version 1.2 | | version 1.3 |
---|
| | |
/* | | /* |
* static char *rcsid_anim_c = | | * static char *rcsid_anim_c = |
* "$Id: anim.c,v 1.2 1999/07/13 06:02:41 cvs Exp $"; | | * "$Id: anim.c,v 1.3 2000/06/14 03:57:47 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
Copyright (C) 1994 Mark Wedel | | Copyright (C) 2000 Mark Wedel |
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 |
| | |
along with this program; if not, write to the Free Software | | along with this program; if not, write to the Free Software |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| | |
The maintainer of this code can be reached at master@rahul.net | | The maintainer of this code can be reached at mwedel@scruz.net |
*/ | | */ |
| | |
/* This file contains animation related code. */ | | /* This file contains animation related code. */ |
| | |
if(!op->animation_id || !NUM_ANIMATIONS(op)) { | | if(!op->animation_id || !NUM_ANIMATIONS(op)) { |
LOG(llevError,"Object lacks animation.\n"); | | LOG(llevError,"Object lacks animation.\n"); |
dump_object(op); | | dump_object(op); |
| | return; |
} | | } |
++op->state; /* increase draw state */ | | ++op->state; /* increase draw state */ |
| | |