version 1.7 | | version 1.8 |
---|
| | |
/* You should have received a copy of the GNU General Public License */ | | /* You should have received a copy of the GNU General Public License */ |
/* 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. */ |
/* */ /*****************************************************************************/ | | /* */ |
| | /*****************************************************************************/ |
| | |
/* First let's include the header file needed */ | | /* First let's include the header file needed */ |
| | |
| | |
if (op->type==PLAYER) | | if (op->type==PLAYER) |
cf_player_move(op->contr,dir); | | cf_player_move(op->contr,dir); |
else | | else |
cf_object_move(op,op,dir); | | cf_object_move(op,dir,op); |
return 1; | | return 1; |
} | | } |
| | |