diff --git a/reapi/extra/amxmodx/scripting/include/cssdk_const.inc b/reapi/extra/amxmodx/scripting/include/cssdk_const.inc index 3aab6434..149baeed 100644 --- a/reapi/extra/amxmodx/scripting/include/cssdk_const.inc +++ b/reapi/extra/amxmodx/scripting/include/cssdk_const.inc @@ -75,9 +75,9 @@ * global_get(glb_trace_flags) values * @note Custom flags that we can retrieve in pfnShouldCollide/TraceLine/TraceHull */ -#define FTRACE_BULLET (1<<16) -#define FTRACE_FLASH (1<<17) -#define FTRACE_KNIFE (1<<18) +#define FTRACE_BULLET (1<<16) +#define FTRACE_FLASH (1<<17) +#define FTRACE_KNIFE (1<<18) /** * get_entvar(entity, var_movetype) values diff --git a/reapi/include/cssdk/dlls/regamedll_api.h b/reapi/include/cssdk/dlls/regamedll_api.h index 1c074456..d3531fec 100644 --- a/reapi/include/cssdk/dlls/regamedll_api.h +++ b/reapi/include/cssdk/dlls/regamedll_api.h @@ -793,7 +793,7 @@ struct ReGameFuncs_t { void (*UTIL_RemoveOther)(const char *szClassname, int nCount); void (*UTIL_DecalTrace)(TraceResult *pTrace, int decalNumber); void (*UTIL_Remove)(CBaseEntity *pEntity); - void (*AddAmmoNameToAmmoRegistry)(const char *szAmmoname); + int (*AddAmmoNameToAmmoRegistry)(const char *szAmmoname); void (*TextureTypePlaySound)(TraceResult *ptr, Vector vecSrc, Vector vecEnd, int iBulletType); class CWeaponBox *(*CreateWeaponBox)(CBasePlayerItem *pItem, CBasePlayer *pPlayerOwner, const char *modelName, Vector &origin, Vector &angles, Vector &velocity, float lifeTime, bool packAmmo); class CGrenade *(*SpawnGrenade)(WeaponIdType weaponId, entvars_t *pevOwner, Vector &vecSrc, Vector &vecThrow, float time, int iTeam, unsigned short usEvent);