summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/score.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/score.cpp b/server/score.cpp
index 4589efe..b4750c3 100644
--- a/server/score.cpp
+++ b/server/score.cpp
@@ -5,7 +5,7 @@ inline int roundup(int value, int roundto) {
}
inline int max(int x, int y) {
- return x > y ? x : y;
+ return x < y ? x : y;
}
Score::Score(int yaku_, int fu_, int dora_) : yaku(yaku_), fu(fu_), dora(dora_) {