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:
driAn
2006-11-07 23:01:39 +00:00
parent 1e67a262dc
commit 632dd55301
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ bool CACBot::ChoosePreferredWeapon()
void CACBot::Reload(int Gun)
{
printf("bot reload");
};
entity *CACBot::SearchForEnts(bool bUseWPs, float flRange, float flMaxHeight)
+1 -2
View File
@@ -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)
+1 -1
View File
@@ -113,7 +113,7 @@ COMMAND(altaction, ARG_1INT);
void reload(dynent *d)
{
if(!d || d->reloading) return;
if(!d || d->reloading || d->weaponchanging) return;
if(d == player1) setscope(false);
bool akimbo = d->gunselect==GUN_PISTOL && d->akimbo!=0;