X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=8b5d2a79f7a5cc4bc6e2f5305540b9c45ad61c51;hb=c56ae03b51200429cfa20db7d61cfe907dc2e26e;hp=2cb218582f2d7a39980a7f2b162debf97d6084ce;hpb=7600b7d74df219d2a0956e03cea3af49226903c2;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 2cb21858..8b5d2a79 100644 --- a/src/game.c +++ b/src/game.c @@ -238,9 +238,11 @@ void InitGame() network_player_action_received = FALSE; +#ifndef MSDOS /* initial null action */ if (network_playing) SendToServer_MovePlayer(MV_NO_MOVING); +#endif ZX = ZY = -1; @@ -739,8 +741,8 @@ boolean NewHiScore() LoadScore(level_nr); - if (!strcmp(setup.player_name, EMPTY_ALIAS) || - local_player->score < highscore[MAX_SCORE_ENTRIES-1].Score) + if (strcmp(setup.player_name, EMPTY_PLAYER_NAME) == 0 || + local_player->score < highscore[MAX_SCORE_ENTRIES - 1].Score) return -1; for (k=0; keffective_action = summarized_player_action;