version 1.43 | | version 1.44 |
---|
| | |
/* | | /* |
* static char *rcsid_plugins_c = | | * static char *rcsid_plugins_c = |
* "$Id: plugins.c,v 1.43 2005/10/01 16:36:35 ryo_saeba Exp $"; | | * "$Id: plugins.c,v 1.44 2005/10/07 17:54:48 akirschbaum Exp $"; |
*/ | | */ |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
} | | } |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
/* ObjectCreateClone object_copy wrapper. */ | | /* object_create_clone object_copy wrapper. */ |
/*****************************************************************************/ | | /*****************************************************************************/ |
/* 0 - object */ | | /* 0 - object */ |
/* 1 - type 0 = clone with inventory */ | | /* 1 - type 0 = clone with inventory */ |
| | |
{ | | { |
CFParm* CFP=(CFParm*)malloc(sizeof (CFParm)); | | CFParm* CFP=(CFParm*)malloc(sizeof (CFParm)); |
if (*(int*)PParm->Value[1]==0) | | if (*(int*)PParm->Value[1]==0) |
CFP->Value[0]=ObjectCreateClone ((object*)PParm->Value[0]); | | CFP->Value[0]=object_create_clone ((object*)PParm->Value[0]); |
else if (*(int*)PParm->Value[1]==1) | | else if (*(int*)PParm->Value[1]==1) |
{ | | { |
object* tmp; | | object* tmp; |