… | |
… | |
67 | int dir=id; |
67 | int dir=id; |
68 | printf ("CFAnim: Moving in direction %ld\n",id); |
68 | printf ("CFAnim: Moving in direction %ld\n",id); |
69 | if (op->type==PLAYER) |
69 | if (op->type==PLAYER) |
70 | cf_player_move(op->contr,dir); |
70 | cf_player_move(op->contr,dir); |
71 | else |
71 | else |
72 | cf_object_move(op,op,dir); |
72 | cf_object_move(op,dir,op); |
73 | return 1; |
73 | return 1; |
74 | } |
74 | } |
75 | |
75 | |
76 | long int initfire(char* name,char* parameters,struct CFmovement_struct* move_entity) |
76 | long int initfire(char* name,char* parameters,struct CFmovement_struct* move_entity) |
77 | { |
77 | { |