From c84490dd6fb5d1e85482c2271e00cb768bae410e Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Wed, 5 Oct 2016 18:45:08 +0200 Subject: Change ability_type::{name, desc, action_desc} to std::string --- src/ability_type.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/ability_type.hpp') diff --git a/src/ability_type.hpp b/src/ability_type.hpp index 3a2a51ee..0291e4de 100644 --- a/src/ability_type.hpp +++ b/src/ability_type.hpp @@ -1,5 +1,7 @@ #pragma once +#include + #include "h-basic.h" /** @@ -7,10 +9,10 @@ */ struct ability_type { - const char *name; /* Name */ - char *desc; /* Description */ + std::string name; /* Name */ + std::string desc; /* Description */ - const char *action_desc; /* Action Description */ + std::string action_desc; /* Action Description */ s16b action_mkey; /* Action do to */ -- cgit v1.2.3