diff --git a/source/src/rendermodel.cpp b/source/src/rendermodel.cpp index 162bb68c..2c0f6a94 100644 --- a/source/src/rendermodel.cpp +++ b/source/src/rendermodel.cpp @@ -11,10 +11,10 @@ model *loadingmodel = NULL; #define checkmdl if(!loadingmodel) { conoutf("not loading a model"); return; } -void mdlcullface(int *cullface) +void mdlcullface(int cullface) { checkmdl; - loadingmodel->cullface = cullface&&*cullface!=0; + loadingmodel->cullface = cullface!=0; } COMMAND(mdlcullface, ARG_1INT);