/[cuyo]/cuyo/src/fall.cpp
ViewVC logotype

Diff of /cuyo/src/fall.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by caeles, Sun Nov 27 02:57:05 2005 UTC revision 1.24 by caeles, Tue Nov 29 20:35:51 2005 UTC
# Line 487  int Fall::getSpezConst(int vnr) const { Line 487  int Fall::getSpezConst(int vnr) const {
487    case spezconst_loc_yy:    case spezconst_loc_yy:
488      return getYY(bin_1);      return getYY(bin_1);
489    case spezconst_turn:    case spezconst_turn:
490      CASSERT(mExtraDreh < 3);      /* Potentieller Bug:
491      return "021"[mExtraDreh] - '0';         Hier stand mal < 3 statt < 4 (und "021" statt "0211").
492           Jene assertion wurde nichtreproduzierbar verletzt.
493           Die Verletzung war schon beim ersten Bildaufbau (vorm Spiel),
494           aber nicht im ersten Spiel. Sollte man mal bei Gelegenheit verfolgen. */
495        CASSERT(mExtraDreh < 4);
496        return "0211"[mExtraDreh] - '0';
497    case spezconst_falling:    case spezconst_falling:
498      return 1;      return 1;
499    case spezconst_falling_fast:    case spezconst_falling_fast:

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26