aboutsummaryrefslogtreecommitdiff
path: root/src/weapon.cc
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-05-05 09:44:50 -0400
committerYour Name <you@example.com>2021-05-05 09:44:50 -0400
commit2a9f262e6db5906db445d465e500d7ba8c90fab3 (patch)
tree34f850754b0c9114ede9d7b2bb8da90dffddc4fe /src/weapon.cc
parent8614137f7f32f2c9f3c11419110cd70dd7f3b505 (diff)
downloaddmtool-2a9f262e6db5906db445d465e500d7ba8c90fab3.tar.gz
dmtool-2a9f262e6db5906db445d465e500d7ba8c90fab3.tar.bz2
dmtool-2a9f262e6db5906db445d465e500d7ba8c90fab3.zip
Implemented additional commands
Diffstat (limited to 'src/weapon.cc')
-rw-r--r--src/weapon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapon.cc b/src/weapon.cc
index dd60b6c..db81047 100644
--- a/src/weapon.cc
+++ b/src/weapon.cc
@@ -120,7 +120,7 @@ namespace entry {
auto abilities = getAbilityOptions(*this);
string abilityString;
if(abilities.size() == 1) {
- abilityString = abilities[0];
+ abilityString = string(abilities[0]);
} else {
abilityString = "max(" + utils::join(abilities, ", ") + ")";
}