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,6 +12,12 @@
#define LINUXOFFSET 5
#endif
#ifndef __linux__
#define WEAP_LINUXOFFSET 0
#else
#define WEAP_LINUXOFFSET 3
#endif
#define TFCMAX_CUSTOMWPNS 5
#define TFCMAX_WEAPONS MAX_WEAPONS + TFCMAX_CUSTOMWPNS
@ -26,12 +32,12 @@
#define ACT_NADE_SHOT 1<<0
#define ACT_NADE_PUT 1<<1
#define PD_AMMO_SHELLS 53 + LINUXOFFSET
#define PD_AMMO_BULLETS 55 + LINUXOFFSET
#define PD_AMMO_CELLS 57 + LINUXOFFSET
#define PD_AMMO_ROCKETS 59 + LINUXOFFSET
#define PD_AMMO_NADE1 14 + LINUXOFFSET
#define PD_AMMO_NADE2 15 + LINUXOFFSET
#define PD_AMMO_SHELLS 53 + WEAP_LINUXOFFSET
#define PD_AMMO_BULLETS 55 + WEAP_LINUXOFFSET
#define PD_AMMO_CELLS 57 + WEAP_LINUXOFFSET
#define PD_AMMO_ROCKETS 59 + WEAP_LINUXOFFSET
#define PD_AMMO_NADE1 14 + WEAP_LINUXOFFSET
#define PD_AMMO_NADE2 15 + WEAP_LINUXOFFSET
enum {
TFC_AMMO_SHELLS = 0,