diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-12-11 06:12:37 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-12-11 06:12:37 +0100 |
commit | 28573641c83b4e9c27c7a5b3ec0a3b10cf116eb8 (patch) | |
tree | ca3a096e9e6df3863ea1047600b1e1ba5f72c065 /server | |
parent | 95afa341a9cc098538d799d3691e3bafa09068ac (diff) |
Corrected max().
Diffstat (limited to 'server')
-rw-r--r-- | server/score.cpp | 2 |
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_) { |