mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 23:47:53 +00:00
Fix build again.
This commit is contained in:
parent
02cff0314d
commit
7370037add
@ -18,8 +18,12 @@
|
||||
#define NOWINRES
|
||||
#define NOIME
|
||||
#define _WIN32_WINNT 0x0400
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
|
||||
#else
|
||||
#include <limits.h>
|
||||
#define MAX_PATH PATH_MAX
|
||||
#endif
|
||||
#define _bool_h 1
|
||||
#include <ministl/string>
|
||||
#include <ministl/list>
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "cl_util.h"
|
||||
#include "netadr.h"
|
||||
//++ BulliT
|
||||
#include "agvariableChecker.h"
|
||||
#include "agvariablechecker.h"
|
||||
#include "agglobal.h"
|
||||
//#include "irc.h"
|
||||
#include "agwallhack.h"
|
||||
|
@ -118,7 +118,7 @@ void CSqueakGrenade::Spawn( void )
|
||||
if( SGBOW == AgGametype() )
|
||||
{
|
||||
//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;
|
||||
}
|
||||
#endif
|
||||
|
@ -62,3 +62,4 @@ private:
|
||||
BOOL m_teamLimit; // This means the server set only some teams as valid
|
||||
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(float**, float**) {}
|
||||
static inline void destroy(double**, double**) {}
|
||||
|
||||
/*
|
||||
#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; }
|
||||
#else
|
||||
#include <new.h>
|
||||
#endif
|
||||
#else*/
|
||||
#include <new>
|
||||
//#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user