… | |
… | |
1112 | /* Animate the object. Bug or feature that anim_speed |
1112 | /* Animate the object. Bug or feature that anim_speed |
1113 | * is based on ticks, and not the creatures speed? |
1113 | * is based on ticks, and not the creatures speed? |
1114 | */ |
1114 | */ |
1115 | if (op->anim_speed && op->last_anim >= op->anim_speed) |
1115 | if (op->anim_speed && op->last_anim >= op->anim_speed) |
1116 | { |
1116 | { |
1117 | if ((op->type == PLAYER) || (op->type == MONSTER)) |
1117 | if ((op->type == PLAYER)) |
1118 | animate_object (op, op->facing); |
1118 | animate_object (op, op->facing); |
1119 | else |
1119 | else |
1120 | animate_object (op, op->direction); |
1120 | animate_object (op, op->direction); |
1121 | |
1121 | |
1122 | op->last_anim = 1; |
1122 | op->last_anim = 1; |