version 1.18 | | version 1.19 |
---|
| | |
/* | | /* |
* static char *rcsid_plugins_c = | | * static char *rcsid_plugins_c = |
* "$Id: plugins.c,v 1.18 2003/05/31 11:48:27 gros Exp $"; | | * "$Id: plugins.c,v 1.19 2003/06/11 17:38:32 gros Exp $"; |
*/ | | */ |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
return NULL; | | return NULL; |
} | | } |
| | |
| | CFParm* CFWDecreaseObjectNR(CFParm* PParm) |
| | { |
| | CFParm* CFP=(CFParm*)malloc(sizeof (CFParm)); |
| | object* op=(object*)PParm->Value[0]; |
| | int i=*(int*)PParm->Value[1]; |
| | object* ob; |
| | |
| | ob = decrease_ob_nr (op, i); |
| | CFP->Value[0] = ob; |
| | return CFP; |
| | } |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
/* teleport an object to another map */ | | /* teleport an object to another map */ |
/*****************************************************************************/ | | /*****************************************************************************/ |