Skip to content

Commit

Permalink
Use the macro to check if overkill is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioSMB committed Oct 1, 2018
1 parent 4dbd3ca commit 02fb2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/common/custom_playermodels.qc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ AUTOCVAR(sv_smokeball_alpha, float, 0, "");

PRECACHE(cpmodels_precache)
{
g_overkill = MUTATOR_ok.mutatorcheck();
g_overkill = MUTATOR_IS_ENABLED(ok);
models_allowed = 0;
#define CHECK_MODEL(d,o) \
if(fexists(strcat("models/player/", d))) \
Expand Down

0 comments on commit 02fb2f7

Please sign in to comment.