diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-12-17 17:46:11 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-12-17 17:46:46 +0100 |
commit | 42ea734a650efcf0e547fd59e439c3b4e476b2b9 (patch) | |
tree | 2ee378b4a54cdbb71c82a24e00420ae7a17b557c /server | |
parent | 1c4c2c7abd9bd8ed7a32455749082056079ae85c (diff) |
Add toitoi and tanyao to list of yaku.
Diffstat (limited to 'server')
-rw-r--r-- | server/player.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<std::pair<std::string, int> // 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. |