mirror of https://github.com/FWGS/hlsdk-xash3d
Fix build again.
This commit is contained in:
parent
02cff0314d
commit
7370037add
|
@ -18,8 +18,12 @@
|
||||||
#define NOWINRES
|
#define NOWINRES
|
||||||
#define NOIME
|
#define NOIME
|
||||||
#define _WIN32_WINNT 0x0400
|
#define _WIN32_WINNT 0x0400
|
||||||
|
#ifdef _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#else
|
||||||
|
#include <limits.h>
|
||||||
|
#define MAX_PATH PATH_MAX
|
||||||
|
#endif
|
||||||
#define _bool_h 1
|
#define _bool_h 1
|
||||||
#include <ministl/string>
|
#include <ministl/string>
|
||||||
#include <ministl/list>
|
#include <ministl/list>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include "cl_util.h"
|
#include "cl_util.h"
|
||||||
#include "netadr.h"
|
#include "netadr.h"
|
||||||
//++ BulliT
|
//++ BulliT
|
||||||
#include "agvariableChecker.h"
|
#include "agvariablechecker.h"
|
||||||
#include "agglobal.h"
|
#include "agglobal.h"
|
||||||
//#include "irc.h"
|
//#include "irc.h"
|
||||||
#include "agwallhack.h"
|
#include "agwallhack.h"
|
||||||
|
|
|
@ -118,7 +118,7 @@ void CSqueakGrenade::Spawn( void )
|
||||||
if( SGBOW == AgGametype() )
|
if( SGBOW == AgGametype() )
|
||||||
{
|
{
|
||||||
//Spawn crossbow instead.
|
//Spawn crossbow instead.
|
||||||
CBaseEntity *pNewWeapon = CBaseEntity::Create( "weapon_crossbow", g_pGameRules->VecWeaponRespawnSpot( this ), pev->angles, pev->owner );
|
//CBaseEntity *pNewWeapon = CBaseEntity::Create( "weapon_crossbow", g_pGameRules->VecWeaponRespawnSpot( this ), pev->angles, pev->owner );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -62,3 +62,4 @@ private:
|
||||||
BOOL m_teamLimit; // This means the server set only some teams as valid
|
BOOL m_teamLimit; // This means the server set only some teams as valid
|
||||||
char m_szTeamList[TEAMPLAY_TEAMLISTLENGTH];
|
char m_szTeamList[TEAMPLAY_TEAMLISTLENGTH];
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
|
@ -72,12 +72,12 @@ static inline void destroy(long**, long**) {}
|
||||||
static inline void destroy(unsigned long**, unsigned long**) {}
|
static inline void destroy(unsigned long**, unsigned long**) {}
|
||||||
static inline void destroy(float**, float**) {}
|
static inline void destroy(float**, float**) {}
|
||||||
static inline void destroy(double**, double**) {}
|
static inline void destroy(double**, double**) {}
|
||||||
|
/*
|
||||||
#if defined (__GNUG__)
|
#if defined (__GNUG__)
|
||||||
static inline void *operator new(size_t, void *place) { return place; }
|
static inline void *operator new(size_t, void *place) { return place; }
|
||||||
static inline void *operator new[](size_t, void *place) { return place; }
|
static inline void *operator new[](size_t, void *place) { return place; }
|
||||||
#else
|
#else*/
|
||||||
#include <new.h>
|
#include <new>
|
||||||
#endif
|
//#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue