Skip to content

Commit

Permalink
fix #346
Browse files Browse the repository at this point in the history
  • Loading branch information
leiizko committed Feb 7, 2022
1 parent 8138797 commit f40fb24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/callback_declarations.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
PCL void OnClientEnterWorld(client_t* client);
PCL void OnClientUserinfoChanged(client_t* client);
PCL void OnClientMoveCommand(client_t* client, usercmd_t* ucmd);
PCL void OnPlayerKilled(gentity_s* self, gentity_s* inflictor, gentity_s* attacker, int damage, int meansOfDeath, int iWeapon, hitLocation_t hitLocation);
PCL void OnPlayerKilled(gentity_t* self, gentity_t* inflictor, gentity_t* attacker, int damage, int meansOfDeath, int iWeapon, hitLocation_t hitLocation);
PCL void OnPlayerWantReservedSlot(netadr_t* from, char* pbguid, char* userinfo, int authstate, qboolean *isallowed);
PCL void OnModuleLoaded(client_t* client, char* fullpath, long checksum);
PCL void OnScreenshotArrived(client_t* client, const char* path);
Expand Down
4 changes: 2 additions & 2 deletions plugins/declarations.h
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ typedef struct {
int longdata[1547];
} statData_t;

enum hitLocation_t {
typedef enum hitLocation_t {
HITLOC_NONE = 0x0,
HITLOC_HELMET = 0x1,
HITLOC_HEAD = 0x2,
Expand All @@ -998,7 +998,7 @@ enum hitLocation_t {
HITLOC_L_FOOT = 0x11,
HITLOC_GUN = 0x12,
HITLOC_NUM = 0x13,
};
}hitLocation_t;

#define MAX_ZPATH 256

Expand Down

1 comment on commit f40fb24

@proxict
Copy link
Contributor

@proxict proxict commented on f40fb24 Feb 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, gcc vs g++, my bad.

Please sign in to comment.