added dynlight checkbox

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2685 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-09-18 07:00:50 +00:00
parent 8bd1a526a6
commit 86686dcecc
2 changed files with 8 additions and 3 deletions
+4
View File
@@ -188,8 +188,12 @@ struct dlight
vector<dlight> dlights;
VAR(dynlight, 0, 1, 1);
void adddynlight(const vec &o, int reach, int expire, int fade, uchar r, uchar g, uchar b)
{
if(!dynlight) return;
dlight &d = dlights.add();
d.o = o;
d.reach = reach;