From 529fe26e4ae5ba6379b7fc98f8a65d16b800069d Mon Sep 17 00:00:00 2001 From: kakurasan Date: Mon, 30 Oct 2017 21:47:29 +0900 Subject: [PATCH] Battle 2k: Don't insert target name into critical hit message if placeholder is not used Fix #1291 (regression introduced in commit 5fba5fb) --- src/game_battlealgorithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game_battlealgorithm.cpp b/src/game_battlealgorithm.cpp index d58b1716fb..c64014eb39 100644 --- a/src/game_battlealgorithm.cpp +++ b/src/game_battlealgorithm.cpp @@ -271,7 +271,7 @@ std::string Game_BattleAlgorithm::AlgorithmBase::GetCriticalHitMessage() const { ); } else { - return GetTarget()->GetName() + message; + return message; } }