trigger weaponswitch for others (issue #257)

This commit is contained in:
flowtron
2021-06-19 11:44:31 +02:00
parent ed75cdee8a
commit d37e73a61d
3 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -944,7 +944,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p, bool demo = false)
case SV_WEAPCHANGE:
{
int gun = getint(p);
if(d) d->selectweapon(gun);
if(d) d->selectweapon(gun,d!=player1);
break;
}