mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
fixed bug am42321
This commit is contained in:
parent
e49af85119
commit
ea262171db
@ -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,12 +32,12 @@
|
|||||||
#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,
|
||||||
|
Loading…
Reference in New Issue
Block a user