diff options
author | Simon Howard | 2011-10-17 18:13:10 +0000 |
---|---|---|
committer | Simon Howard | 2011-10-17 18:13:10 +0000 |
commit | 854cb8073a336455d0bcd9b6a40d67c1b4226bb3 (patch) | |
tree | c421979a327967662292eab158bd3980fd6235c3 /src/strife | |
parent | d0ada124a2700e4c762c1126e9e13e36b094a614 (diff) | |
download | chocolate-doom-854cb8073a336455d0bcd9b6a40d67c1b4226bb3.tar.gz chocolate-doom-854cb8073a336455d0bcd9b6a40d67c1b4226bb3.tar.bz2 chocolate-doom-854cb8073a336455d0bcd9b6a40d67c1b4226bb3.zip |
Rework net_connect_data_t structure to include WAD and Dehacked
checksums, plus the is_freedoom flag.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2434
Diffstat (limited to 'src/strife')
-rw-r--r-- | src/strife/d_net.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/strife/d_net.c b/src/strife/d_net.c index 0f3b3d75..15a48873 100644 --- a/src/strife/d_net.c +++ b/src/strife/d_net.c @@ -38,6 +38,7 @@ #include "g_game.h" #include "doomdef.h" #include "doomstat.h" +#include "w_checksum.h" #include "deh_main.h" @@ -215,6 +216,13 @@ static void SaveGameSettings(net_gamesettings_t *settings, // Are we recording a demo? Possibly set lowres turn mode connect_data->lowres_turn = settings->lowres_turn; + + // Read checksums of our WAD directory and dehacked information + + W_Checksum(connect_data->wad_md5sum); + DEH_Checksum(connect_data->deh_md5sum); + + connect_data->is_freedoom = 0; } void D_InitSinglePlayerGame(net_gamesettings_t *settings) |