no message
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@534 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -551,8 +551,6 @@ void addshotline(dynent *d, vec &from, vec &to)
|
||||
};
|
||||
};
|
||||
|
||||
VAR(shotline_duration, 0, 75, 10000);
|
||||
|
||||
void rendershotlines()
|
||||
{
|
||||
int lines = 0;
|
||||
@@ -560,6 +558,7 @@ void rendershotlines()
|
||||
{
|
||||
shotline *s = &shotlines[i];
|
||||
if(!s->inuse) continue;
|
||||
const int shotline_duration = 75;
|
||||
if(lastmillis-s->millis > shotline_duration) { s->inuse = false; continue; }
|
||||
|
||||
if(!lines)
|
||||
|
||||
Reference in New Issue
Block a user