From cd99c8a8a0327df8c910ca3f9d7fc319bf6741e9 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 3 Jun 2007 21:41:58 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1113 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/rendermodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);