Make sure netname is set to match the name infokey each frame

This commit is contained in:
Adam Olsen 2001-07-19 11:56:52 +00:00
parent 897ff0dc0d
commit 1d4aa3b4eb
3 changed files with 2 additions and 1 deletions

1
BUGS
View File

@ -1,4 +1,3 @@
- that the suicide message, and some others, used the original nick even though he changed it
- info string length exceeded :/
- still get teamkill curse with teamplay 0
- duplicate connects

View File

@ -3015,6 +3015,7 @@ void() PlayerPostThink =
sound (self, #CHAN_VOICE, "player/land.wav", 1, #ATTN_NORM);
}
self.netname = infokey(self, "name");
self.jump_flag = self.velocity_z;

View File

@ -1319,6 +1319,7 @@ void(entity bastard,float threshold) createBastard =
bastard.penance_time = time + 60;
stuffcmd(bastard, "name \"ÔĺáíËéěěĺň (");
// stuffcmd(bartard, "name \"\<TeamKiller\> (");
stuffcmd(bastard, bastard.netname);
stuffcmd(bastard, ")\"\n");