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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user