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:
@@ -95,7 +95,7 @@ bool CACBot::ChoosePreferredWeapon()
|
||||
|
||||
void CACBot::Reload(int Gun)
|
||||
{
|
||||
printf("bot reload");
|
||||
|
||||
};
|
||||
|
||||
entity *CACBot::SearchForEnts(bool bUseWPs, float flRange, float flMaxHeight)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user