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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user