- separated the button code from c_dispatch.

Two separate features justify two separate files.
This commit is contained in:
Christoph Oelckers 2020-04-11 18:00:10 +02:00
commit 603ad755ab
14 changed files with 339 additions and 275 deletions

View file

@ -360,7 +360,8 @@ CCMD (changemap)
return;
}
if (!players[who->player - players].settings_controller && netgame)
AActor* user = (AActor*)who;
if (!players[user->player - players].settings_controller && netgame)
{
Printf ("Only setting controllers can change the map.\n");
return;