fixed bug am42321

This commit is contained in:
Borja Ferrer 2006-08-20 21:19:50 +00:00
parent e49af85119
commit ea262171db

View File

@ -12,7 +12,13 @@
#define LINUXOFFSET 5 #define LINUXOFFSET 5
#endif #endif
#define TFCMAX_CUSTOMWPNS 5 #ifndef __linux__
#define WEAP_LINUXOFFSET 0
#else
#define WEAP_LINUXOFFSET 3
#endif
#define TFCMAX_CUSTOMWPNS 5
#define TFCMAX_WEAPONS MAX_WEAPONS + TFCMAX_CUSTOMWPNS #define TFCMAX_WEAPONS MAX_WEAPONS + TFCMAX_CUSTOMWPNS
#define PD_SENTRY_OWNER 83 + LINUXOFFSET #define PD_SENTRY_OWNER 83 + LINUXOFFSET
@ -26,15 +32,15 @@
#define ACT_NADE_SHOT 1<<0 #define ACT_NADE_SHOT 1<<0
#define ACT_NADE_PUT 1<<1 #define ACT_NADE_PUT 1<<1
#define PD_AMMO_SHELLS 53 + LINUXOFFSET #define PD_AMMO_SHELLS 53 + WEAP_LINUXOFFSET
#define PD_AMMO_BULLETS 55 + LINUXOFFSET #define PD_AMMO_BULLETS 55 + WEAP_LINUXOFFSET
#define PD_AMMO_CELLS 57 + LINUXOFFSET #define PD_AMMO_CELLS 57 + WEAP_LINUXOFFSET
#define PD_AMMO_ROCKETS 59 + LINUXOFFSET #define PD_AMMO_ROCKETS 59 + WEAP_LINUXOFFSET
#define PD_AMMO_NADE1 14 + LINUXOFFSET #define PD_AMMO_NADE1 14 + WEAP_LINUXOFFSET
#define PD_AMMO_NADE2 15 + LINUXOFFSET #define PD_AMMO_NADE2 15 + WEAP_LINUXOFFSET
enum { enum {
TFC_AMMO_SHELLS = 0, TFC_AMMO_SHELLS = 0,
TFC_AMMO_BULLETS, TFC_AMMO_BULLETS,
TFC_AMMO_CELLS, TFC_AMMO_CELLS,
TFC_AMMO_ROCKETS, TFC_AMMO_ROCKETS,