From 219e81b4af07085781c763faa87a1cdac0a1e0dc Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 15 Mar 2015 20:07:53 +0100
Subject: [PATCH] Fix client crashing due to GOD_MOOD removal.

---
 src/client/io.c    | 1 -
 src/client/world.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/client/io.c b/src/client/io.c
index b18ad5d..13a3bee 100644
--- a/src/client/io.c
+++ b/src/client/io.c
@@ -185,7 +185,6 @@ static uint8_t read_worldstate()
     uint32_t linemax = textfile_width(file);
     char * read_buf = try_malloc(linemax + 1, __func__);
     world.turn = (uint16_t) read_value_from_line(read_buf, linemax, file);
-    world.godsmood = (int16_t) read_value_from_line(read_buf, linemax, file); //
     world.godsfavor = (int16_t) read_value_from_line(read_buf, linemax, file); //
     world.player_lifepoints = (uint16_t) read_value_from_line(read_buf, linemax,
                                                               file);
diff --git a/src/client/world.h b/src/client/world.h
index 5c80143..69ba6b0 100644
--- a/src/client/world.h
+++ b/src/client/world.h
@@ -46,7 +46,6 @@ struct World
     uint16_t turn; /* world/game turn */
     uint16_t things_here_scroll; /* scroll position things here win */ // 7DRL
     int16_t player_satiation; /* player's belly fullness */
-    int16_t godsmood; /* island god's mood */ // 7DRL
     int16_t godsfavor; /* island god's favor to player */ // 7DRL
     uint8_t player_inventory_select; /* index of selected item in inventory */
     uint8_t player_lifepoints; /* how alive the player is */
-- 
2.30.2