projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved preprocessor macro to determine array size
[rocksndiamonds.git]
/
src
/
init.c
diff --git
a/src/init.c
b/src/init.c
index 965706fed1c51d46e25e5f60856ef691c318bfe3..6db427ff5333ec44191426f5346ee4c32258df1e 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-5489,6
+5489,8
@@
static void InitLevelInfo()
if (leveldir_current == NULL)
leveldir_current = getFirstValidTreeInfoEntry(leveldir_first);
}
if (leveldir_current == NULL)
leveldir_current = getFirstValidTreeInfoEntry(leveldir_first);
}
+
+ SetLevelSetInfo(leveldir_current->identifier, level_nr);
}
static void InitLevelArtworkInfo()
}
static void InitLevelArtworkInfo()
@@
-5631,8
+5633,8
@@
void InitNetworkServer()
}
else
{
}
else
{
- SendToServer_PlayerName(setup.player_name);
SendToServer_ProtocolVersion();
SendToServer_ProtocolVersion();
+ SendToServer_PlayerName(setup.player_name);
SendToServer_NrWanted(setup.network_player_nr + 1);
network.connected = TRUE;
SendToServer_NrWanted(setup.network_player_nr + 1);
network.connected = TRUE;