~ubuntu-branches/ubuntu/jaunty/kdegames/jaunty-backports

« back to all changes in this revision

Viewing changes to kpat/patsolve/grandf.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter
  • Date: 2008-07-12 19:00:07 UTC
  • mfrom: (1.2.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20080712190007-z0itmj9r736o8vng
Tags: 4:4.0.98-0ubuntu1
* New upstream release candidate
* Bump Standards-Version to 3.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
            dir = -dir;
92
92
        }
93
93
 
94
 
        int i = 0;
 
94
        int j = 0;
95
95
        while (len > 0)
96
96
        {
97
97
            card_t card = deck[--len];
98
 
            int currentpile = m_redeal * 7 + ( i + 1 );
 
98
            int currentpile = m_redeal * 7 + ( j + 1 );
99
99
            Wp[currentpile]++;
100
100
            *Wp[currentpile] = card;
101
101
            Wlen[currentpile]++;
102
 
            i = (i+1)%6;
 
102
            j = (j+1)%6;
103
103
        }
104
104
 
105
105
        for (int round=0; round < 7; round++)