From 1114906434962d742f6be2ff57ac852a955eec04 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Tue, 5 May 2020 09:41:10 +0800 Subject: [PATCH] =?UTF-8?q?WAR:=20=E4=B8=B4=E6=97=B6=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=86=85=E5=AD=98=E6=B3=84=E6=BC=8F=E6=9C=80=E5=A4=A7=E7=9A=84?= =?UTF-8?q?=E6=B3=84=E6=BC=8F=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/game/position.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/position.cpp b/src/game/position.cpp index 9203eb18..93425f15 100644 --- a/src/game/position.cpp +++ b/src/game/position.cpp @@ -989,7 +989,7 @@ bool Position::checkGameOverCondition() winner = Player::getOpponent(sideToMove); int winnerId = Player::toId(winner); sprintf(cmdline, "Player%d no way to go. Player%d win!", sideId, winnerId); - cmdlist.emplace_back(string(cmdline)); + //cmdlist.emplace_back(string(cmdline)); // TODO: 内存泄漏 return true; }