From: Christian Heller <c.heller@plomlompom.de>
Date: Fri, 7 Nov 2014 20:52:14 +0000 (+0100)
Subject: Server: Add critical bug to TODO.
X-Git-Tag: tce~611
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/error?a=commitdiff_plain;h=f934d0193c89585b9154210bf1ffb08aeebef12a;p=plomrogue

Server: Add critical bug to TODO.
---

diff --git a/TODO b/TODO
index a5eb094..2cc0adf 100644
--- a/TODO
+++ b/TODO
@@ -4,6 +4,10 @@ IN GENERAL:
 
 - expand use of hardcoded_strings module(s)
 
+SERVER:
+
+- critical bug: replay and exit game state don't match
+
 BOTH SERVER/CLIENT:
 
 - make server and client communicate by specific world state info requests 
diff --git a/src/client/draw_wins.c b/src/client/draw_wins.c
index a8477bd..b230b6a 100644
--- a/src/client/draw_wins.c
+++ b/src/client/draw_wins.c
@@ -12,7 +12,7 @@
 #include <stdint.h> /* uint8_t, uint16_t, uint32_t, UINT16_MAX */
 #include <stdio.h> /* sprintf() */
 #include <stdlib.h> /* free() */
-#include <string.h> /* memset(), strchr(), strdup/(), strlen() */
+#include <string.h> /* memset(), strcmp(), strchr(), strdup/(), strlen() */
 #include "../common/rexit.h" /* exit_err(), exit_trouble() */
 #include "../common/try_malloc.h" /* try_malloc() */
 #include "keybindings.h" /* struct KeyBindingDB, get_keyname_to_keycode() */