Removing lasttarget

This commit is contained in:
Ronald Reagan
2014-01-23 09:23:40 -08:00
parent 5feb0daae5
commit 305ef19887
-5
View File
@@ -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;