fixed segmentation fault when sorting enemies

This commit is contained in:
2024-07-15 10:10:53 -04:00
parent 93f68e3969
commit be00e2ec0f
6 changed files with 21 additions and 11 deletions

View File

@ -77,7 +77,7 @@ long_result enemy_base::get_hit(character *ch, const int tATK,
" is slain by PC. "};
return {result::hit, "PC deals " +
std::to_string(tmp) + " damage to " + abbrev};
std::to_string(tmp) + " damage to " + abbrev + ". "};
}
return {miss, "PC tried to hit " + abbrev + " but missed. "};