From f934d0193c89585b9154210bf1ffb08aeebef12a Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Fri, 7 Nov 2014 21:52:14 +0100 Subject: [PATCH] Server: Add critical bug to TODO. --- TODO | 4 ++++ src/client/draw_wins.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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() */ -- 2.30.2