diff options
author | Simon Howard | 2006-03-02 00:10:23 +0000 |
---|---|---|
committer | Simon Howard | 2006-03-02 00:10:23 +0000 |
commit | 49bb2324f20de0414e672ea42f52d828b7246014 (patch) | |
tree | 9a97fdd9004cc6e6e7b551ad450fbc8981a5945f /src | |
parent | 4846529e74168926e8e7b381b994fabb13f34e82 (diff) | |
download | chocolate-doom-49bb2324f20de0414e672ea42f52d828b7246014.tar.gz chocolate-doom-49bb2324f20de0414e672ea42f52d828b7246014.tar.bz2 chocolate-doom-49bb2324f20de0414e672ea42f52d828b7246014.zip |
_Really_ fix -nomonsters.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 404
Diffstat (limited to 'src')
-rw-r--r-- | src/net_structrw.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net_structrw.c b/src/net_structrw.c index 0fdf0245..03cb16e9 100644 --- a/src/net_structrw.c +++ b/src/net_structrw.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: net_structrw.c 394 2006-02-27 16:31:08Z fraggle $ +// $Id: net_structrw.c 404 2006-03-02 00:10:23Z fraggle $ // // Copyright(C) 2005 Simon Howard // @@ -73,6 +73,7 @@ void NET_WriteSettings(net_packet_t *packet, net_gamesettings_t *settings) NET_WriteInt8(packet, settings->ticdup); NET_WriteInt8(packet, settings->extratics); NET_WriteInt8(packet, settings->deathmatch); + NET_WriteInt8(packet, settings->nomonsters); NET_WriteInt8(packet, settings->episode); NET_WriteInt8(packet, settings->map); NET_WriteInt8(packet, settings->skill); @@ -85,6 +86,7 @@ boolean NET_ReadSettings(net_packet_t *packet, net_gamesettings_t *settings) return NET_ReadInt8(packet, (unsigned int *) &settings->ticdup) && NET_ReadInt8(packet, (unsigned int *) &settings->extratics) && NET_ReadInt8(packet, (unsigned int *) &settings->deathmatch) + && NET_ReadInt8(packet, (unsigned int *) &settings->nomonsters) && NET_ReadInt8(packet, (unsigned int *) &settings->episode) && NET_ReadInt8(packet, (unsigned int *) &settings->map) && NET_ReadInt8(packet, (unsigned int *) &settings->skill) |