From 42ea734a650efcf0e547fd59e439c3b4e476b2b9 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Fri, 17 Dec 2010 17:46:11 +0100 Subject: Add toitoi and tanyao to list of yaku. --- server/player.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server') diff --git a/server/player.cpp b/server/player.cpp index 9707f34..3935710 100644 --- a/server/player.cpp +++ b/server/player.cpp @@ -541,11 +541,13 @@ Score Player::calculate_score(const Sets& hand, List // Check tanyao. if(possible_tanyao) { score.yaku += 1; + han.push_back(std::make_pair("Tanyao", 1)); } // Check toitoi. if(possible_toitoi) { score.yaku += 2; + han.push_back(std::make_pair("Toitoi", 2)); } // Check pinfu. -- cgit v1.2.3