diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
commit | c84490dd6fb5d1e85482c2271e00cb768bae410e (patch) | |
tree | c2043c4f418f7565c911b88d6aa926d4b3747230 /src/ability_type.hpp | |
parent | dd76070a7d8676a5f13dcc91fc7ed2eb2639d9df (diff) |
Change ability_type::{name, desc, action_desc} to std::string
Diffstat (limited to 'src/ability_type.hpp')
-rw-r--r-- | src/ability_type.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
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 <string> + #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 */ |