Navigation Menu

Skip to content

Commit

Permalink
Battle 2k: Don't insert target name into critical hit message if plac…
Browse files Browse the repository at this point in the history
…eholder is not used

Fix #1291 (regression introduced in commit 5fba5fb)
  • Loading branch information
kakurasan committed Oct 30, 2017
1 parent e35a5ea commit 529fe26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_battlealgorithm.cpp
Expand Up @@ -271,7 +271,7 @@ std::string Game_BattleAlgorithm::AlgorithmBase::GetCriticalHitMessage() const {
);
}
else {
return GetTarget()->GetName() + message;
return message;
}
}

Expand Down

0 comments on commit 529fe26

Please sign in to comment.