Summary: | Forty and Eight says "you cannot win" when I can | ||
---|---|---|---|
Product: | [Applications] kpat | Reporter: | Josh Metzler <joshdeb> |
Component: | general | Assignee: | Stephan Kulow <coolo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Josh Metzler
2003-05-30 04:42:58 UTC
Subject: KDE_3_1_BRANCH: kdegames/kpat CVS commit by coolo: fixing isGameLost CCMAIL: 59136-done@bugs.kde.org M +1 -1 fortyeight.cpp 1.16.2.2 --- kdegames/kpat/fortyeight.cpp #1.16.2.1:1.16.2.2 @@ -153,5 +153,5 @@ bool Fortyeight::isGameLost() const{ if(!pile->isEmpty()) if(pile->top()->suit() == c->suit() && - pile->top()->value()-1 == c->value()) + pile->top()->value()+1 == c->value()) return false; for(int j=0; j <8;j++){ |