Skip to content

Commit

Permalink
Reserve enough entvars for all weapons + local player in client weapo…
Browse files Browse the repository at this point in the history
…n prediction code

Resolves #97
  • Loading branch information
SamVanheer committed Dec 1, 2021
1 parent 565c27f commit c7340ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cl_dll/hl/hl_weapons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
extern int g_iUser1;

// Pool of client side entities/entvars_t
static entvars_t ev[MAX_WEAPONS];
static entvars_t ev[MAX_WEAPONS + 1];
static int num_ents = 0;

// The entity we'll use to represent the local client
Expand Down

0 comments on commit c7340ef

Please sign in to comment.