From 76b3632d13bbf57c6354bc10f67ea849f1d47279 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sat, 17 Sep 2016 09:58:14 +0200 Subject: Rework player_race_mod::{title,desc} to std::string --- src/player_race_mod.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/player_race_mod.hpp') diff --git a/src/player_race_mod.hpp b/src/player_race_mod.hpp index da3ae0ca..60558d24 100644 --- a/src/player_race_mod.hpp +++ b/src/player_race_mod.hpp @@ -12,12 +12,13 @@ #include "skills_defs.hpp" #include +#include #include struct player_race_mod { - char *title = nullptr; /* Type of race mod */ - char *desc = nullptr; /* Desc */ + std::string title; + std::string description; bool_ place = FALSE; /* TRUE = race race modifier, FALSE = Race modifier race */ -- cgit v1.2.3