Removing lasttarget
This commit is contained in:
@@ -805,10 +805,6 @@ VARP(dbgpos,0,0,1);
|
||||
VARP(showtargetname,0,1,1);
|
||||
VARP(showspeed, 0, 0, 1);
|
||||
|
||||
static char lastseen [20];
|
||||
void lasttarget() { result(lastseen); }
|
||||
COMMAND(lasttarget, "");
|
||||
|
||||
void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwater)
|
||||
{
|
||||
playerent *p = camera1->type<ENT_CAMERA ? (playerent *)camera1 : player1;
|
||||
@@ -861,7 +857,6 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
|
||||
playerent *targetplayer = playerincrosshair();
|
||||
if (targetplayer) strcpy(lastseen, targetplayer->name);
|
||||
bool menu = menuvisible();
|
||||
bool command = getcurcommand() ? true : false;
|
||||
bool reloading = lastmillis < p->weaponsel->reloading + p->weaponsel->info.reloadtime;
|
||||
|
||||
Reference in New Issue
Block a user