From: Christian Heller Date: Sun, 8 Mar 2015 16:12:51 +0000 (+0100) Subject: Server/C: In parse_palyer_command_0arg, don't set zero argument. X-Git-Tag: tce~361 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/day_todos?a=commitdiff_plain;h=a18ffcfc0b1527b5751ff9c76b8bdb7ee181a764;p=plomrogue Server/C: In parse_palyer_command_0arg, don't set zero argument. --- diff --git a/src/server/run.c b/src/server/run.c index 11735d0..4351b9f 100644 --- a/src/server/run.c +++ b/src/server/run.c @@ -117,7 +117,6 @@ static uint8_t parse_player_command_0arg(char * tok0) else { player->command = get_thing_action_id_by_name(tok0); - player->arg = 0; } turn_over(); }