summaryrefslogtreecommitdiff
path: root/src/monster_type.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/monster_type.cc')
-rw-r--r--src/monster_type.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/monster_type.cc b/src/monster_type.cc
new file mode 100644
index 00000000..5731e430
--- /dev/null
+++ b/src/monster_type.cc
@@ -0,0 +1,8 @@
+#include "monster_type_fwd.hpp"
+#include "monster_type.hpp"
+#include "monster2.hpp"
+
+std::shared_ptr<monster_race> monster_type::race() const
+{
+ return race_info_idx(r_idx, ego);
+}