projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added option for magic wall timer of zero for native BD engine
[rocksndiamonds.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index 2905dc5737c6f0d94e33f22740162acbf38e4fff..3461572db959ac07151f383e1fc28c38f4703cac 100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-161,15
+161,15
@@
char *getNetworkPlayerName(int player_nr)
struct NetworkClientPlayerInfo *player;
if (player_nr == 0)
struct NetworkClientPlayerInfo *player;
if (player_nr == 0)
- return
("the network game server")
;
+ return
"the network game server"
;
else if (player_nr == first_player.nr)
else if (player_nr == first_player.nr)
- return
("you")
;
+ return
"you"
;
else
for (player = &first_player; player; player = player->next)
if (player->nr == player_nr && strlen(player->name) > 0)
else
for (player = &first_player; player; player = player->next)
if (player->nr == player_nr && strlen(player->name) > 0)
- return
(player->name)
;
+ return
player->name
;
- return
(EMPTY_PLAYER_NAME)
;
+ return
EMPTY_PLAYER_NAME
;
}
boolean hasStartedNetworkGame(void)
}
boolean hasStartedNetworkGame(void)