summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.h
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2011-11-08 00:39:38 +0100
committerFlorian Diebold <flodiebold@gmail.com>2011-11-23 19:06:47 +0100
commita9079440e36eb20841ba3b84182830033a1abb64 (patch)
treed1539265c7d7a5b7e292e9bdd2fd4fc5e4d65158 /crawl-ref/source/menu.h
parent1326a7e9556198e7388b0e1c7427def08ac0d7e1 (diff)
downloadcrawl-ref-a9079440e36eb20841ba3b84182830033a1abb64.tar.gz
crawl-ref-a9079440e36eb20841ba3b84182830033a1abb64.zip
Make the monster_info constructors explicit and use monster_info in more places.
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r--crawl-ref/source/menu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index 030cefc90f..620a783028 100644
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -15,6 +15,7 @@
#include "format.h"
#include "defines.h"
#include "libutil.h"
+#include "mon-info.h"
#ifdef USE_TILE_LOCAL
#include "tilebuf.h"
@@ -184,7 +185,7 @@ public:
class MonsterMenuEntry : public MenuEntry
{
public:
- MonsterMenuEntry(const std::string &str, const monster* mon, int hotkey);
+ MonsterMenuEntry(const std::string &str, const monster_info* mon, int hotkey);
#ifdef USE_TILE_LOCAL
virtual bool get_tiles(std::vector<tile_def>& tileset) const;