summaryrefslogtreecommitdiff
path: root/src/gods.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-05 18:49:37 +0200
commit765e1a3dc7abce3a849b8d1f124ada7a6984154a (patch)
tree0a4530d2091f05b70638f2eb833ae9b7238e4927 /src/gods.cc
parent5869c5622e4345ffd50e0713d188f2d283b61caa (diff)
Move s_{info,descriptors} to Game/GameEdtiData
Diffstat (limited to 'src/gods.cc')
-rw-r--r--src/gods.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gods.cc b/src/gods.cc
index 7da62d7a..82d8d300 100644
--- a/src/gods.cc
+++ b/src/gods.cc
@@ -7,6 +7,7 @@
*/
#include "gods.hpp"
+#include "game.hpp"
#include "player_type.hpp"
#include "skills.hpp"
#include "skill_type.hpp"
@@ -79,6 +80,8 @@ static bool_ may_follow_god(int god)
*/
void follow_god(int god, bool_ silent)
{
+ auto &s_info = game->s_info;
+
/* Poor unbelievers, i'm so mean ... BOUHAHAHA */
if (get_skill(SKILL_ANTIMAGIC))
{