Update tfcx LINUXOFFSET value (bug 5845, r=arkshine)

Former-commit-id: 0f1908fa74
This commit is contained in:
DynamicBits 2013-08-24 00:56:26 +02:00
parent 73b365e952
commit de818ab5ec

View File

@ -7,18 +7,18 @@
#include "CRank.h" #include "CRank.h"
#if defined(_WIN32) #if defined(_WIN32)
#define LINUXOFFSET 0 #define LINUXOFFSET 0
#define CLIP_LINUXOFFSET 0 #define CLIP_LINUXOFFSET 0
#else #else
#define LINUXOFFSET 3 #define LINUXOFFSET 4
#define CLIP_LINUXOFFSET 4 #define CLIP_LINUXOFFSET 4
#endif #endif
#define TFCMAX_CUSTOMWPNS 5 #define TFCMAX_CUSTOMWPNS 5
#define TFCMAX_WEAPONS MAX_WEAPONS + TFCMAX_CUSTOMWPNS #define TFCMAX_WEAPONS MAX_WEAPONS + TFCMAX_CUSTOMWPNS
#define PD_HAS_GOALITEM 26 + LINUXOFFSET #define PD_HAS_GOALITEM 26 + LINUXOFFSET
#define PD_GOALITEM_TEAM 36 + LINUXOFFSET #define PD_GOALITEM_TEAM 36 + LINUXOFFSET
#define PD_SENTRY_OWNER 83 + LINUXOFFSET #define PD_SENTRY_OWNER 83 + LINUXOFFSET
#define PD_TIMER_OWNER 932 + LINUXOFFSET #define PD_TIMER_OWNER 932 + LINUXOFFSET
@ -28,7 +28,7 @@
#define PD_REPLACE_SKIN 172 + LINUXOFFSET #define PD_REPLACE_SKIN 172 + LINUXOFFSET
#define MAX_TRACE 13 #define MAX_TRACE 13
//#define NADE_OFFSET 24 //#define NADE_OFFSET 24
#define ACT_NADE_NONE 0 #define ACT_NADE_NONE 0
@ -49,11 +49,11 @@
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,
TFC_AMMO_NADE1, TFC_AMMO_NADE1,
TFC_AMMO_NADE2, TFC_AMMO_NADE2,
}; };
enum { enum {
@ -179,7 +179,7 @@ struct CPlayer {
class Grenades class Grenades
{ {
struct Obj struct Obj
{ {
CPlayer* player; CPlayer* player;
edict_t* grenade; edict_t* grenade;