1 | /* |
1 | /* |
2 | * static char *rcsid_plugins_c = |
2 | * static char *rcsid_plugins_c = |
3 | * "$Id: plugins.c,v 1.1.1.1 2006/02/03 07:14:36 root Exp $"; |
3 | * "$Id: plugins.c,v 1.1.1.2 2006/02/22 18:03:23 elmex Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /*****************************************************************************/ |
6 | /*****************************************************************************/ |
7 | /* CrossFire, A Multiplayer game for X-windows */ |
7 | /* CrossFire, A Multiplayer game for X-windows */ |
8 | /* */ |
8 | /* */ |
… | |
… | |
1506 | { |
1506 | { |
1507 | int idx; |
1507 | int idx; |
1508 | idx = va_arg(args, int); |
1508 | idx = va_arg(args, int); |
1509 | rv = &op->resist[idx]; |
1509 | rv = &op->resist[idx]; |
1510 | } |
1510 | } |
1511 | *type = CFAPI_INT; |
1511 | *type = CFAPI_INT16; |
1512 | break; |
1512 | break; |
1513 | |
1513 | |
1514 | case CFAPI_OBJECT_PROP_ATTACK_TYPE: |
1514 | case CFAPI_OBJECT_PROP_ATTACK_TYPE: |
1515 | rv = &op->attacktype; |
1515 | rv = &op->attacktype; |
1516 | *type = CFAPI_INT; |
1516 | *type = CFAPI_INT; |