aboutsummaryrefslogtreecommitdiff
path: root/src/armor.cc
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-05-09 19:01:59 -0400
committerYour Name <you@example.com>2021-05-09 19:01:59 -0400
commite044fc4255aa64ef1dbc3d20ed87ed6e2f61a6bd (patch)
tree344c09421c5839a764a132fe9166f0e6e3f90e45 /src/armor.cc
parentd13358b71ec15085f2638fd9c3fc634df62dfc94 (diff)
downloaddmtool-e044fc4255aa64ef1dbc3d20ed87ed6e2f61a6bd.tar.gz
dmtool-e044fc4255aa64ef1dbc3d20ed87ed6e2f61a6bd.tar.bz2
dmtool-e044fc4255aa64ef1dbc3d20ed87ed6e2f61a6bd.zip
Code refactoring
Diffstat (limited to 'src/armor.cc')
-rw-r--r--src/armor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armor.cc b/src/armor.cc
index ecf8c1e..d7e7e57 100644
--- a/src/armor.cc
+++ b/src/armor.cc
@@ -22,7 +22,7 @@ namespace entry{
if(a.stealthDisadvantage()) {
text << ", Imposes stealth disadvantage";
}
- text << ". " << genText(static_cast<const Substantial&>(a));
+ text << ". " << a.Substantial::getText();
return text.str();
}