Fix of wrong "alive" status in scoreboard.

This commit fixes the issue: https://github.com/assaultcube/AC/issues/21
Player in spectate mode isn't dead, so when he switches from spectate to active mode, he is still non-dead.
Therefore d->state=="CS_DEAD" doesn't work in such cases.
This commit removes also some aimless line.
This commit is contained in:
aurhat
2014-04-05 13:52:41 +02:00
parent f5815f4277
commit 5b94bab21f
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -173,7 +173,6 @@ void newname(const char *name)
addmsg(SV_SWITCHNAME, "rs", player1->name);
}
else conoutf(_("your name is: %s"), player1->name);
//alias(_("curname"), player1->name); // WTF? stef went crazy - this isn't something to translate either.
alias("curname", player1->name);
}