Skip to content

Commit

Permalink
AddAmmoNameToAmmoRegistry return type change
Browse files Browse the repository at this point in the history
  • Loading branch information
dystopm committed Jul 26, 2023
1 parent a8bc341 commit 21f19ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions reapi/extra/amxmodx/scripting/include/cssdk_const.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion reapi/include/cssdk/dlls/regamedll_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 21f19ac

Please sign in to comment.