1 | /* |
1 | /* |
2 | * static char *rcsid_plugins_c = |
2 | * static char *rcsid_plugins_c = |
3 | * "$Id: plugins.c,v 1.4 2006/02/08 04:32:19 root Exp $"; |
3 | * "$Id: plugins.c,v 1.5 2006/02/22 18:53:56 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 | /* */ |
… | |
… | |
1473 | { |
1473 | { |
1474 | int idx; |
1474 | int idx; |
1475 | idx = va_arg(args, int); |
1475 | idx = va_arg(args, int); |
1476 | rv = &op->resist[idx]; |
1476 | rv = &op->resist[idx]; |
1477 | } |
1477 | } |
1478 | *type = CFAPI_INT; |
1478 | *type = CFAPI_INT16; |
1479 | break; |
1479 | break; |
1480 | |
1480 | |
1481 | case CFAPI_OBJECT_PROP_ATTACK_TYPE: |
1481 | case CFAPI_OBJECT_PROP_ATTACK_TYPE: |
1482 | rv = &op->attacktype; |
1482 | rv = &op->attacktype; |
1483 | *type = CFAPI_INT; |
1483 | *type = CFAPI_INT; |