Fix build again.

This commit is contained in:
Night Owl 2017-03-30 01:41:27 +05:00
parent 02cff0314d
commit 7370037add
5 changed files with 12 additions and 7 deletions

View File

@ -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>

View File

@ -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"

View File

@ -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

View File

@ -62,3 +62,4 @@ private:
BOOL m_teamLimit; // This means the server set only some teams as valid
char m_szTeamList[TEAMPLAY_TEAMLISTLENGTH];
};
#endif

View File

@ -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