Си диез / Говнокод #244 Ссылка на оригинал

0

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
this.sector = this.neo.MoveTo(gameTime, out startLive, out steps);                

if (!FP)
{
    //stepCnt += steps;
    showCard = true;
    FP = true;
}

// БЫЛО: bool[] btnCard = this.cm.GetCard(stepCnt, out card, this.neo);
// СТАЛО:
bool[] btnCard = this.cm.GetCard(neo.Cursector, out card, this.neo);

// ...  НО ИЗЗА ТАКИХ МЕСТ В КОДЕ ЭТО ПИЗДЕЦ КАК СЛОЖНО!
if (this.card == null)
{
    //stepCnt -= 29;
    //btnCard = this.cm.GetCard(stepCnt, out card, this.neo);
    btnCard = this.cm.GetCard(neo.Cursector, out card, this.neo);
}

Запостил: guest guest, (Updated )

Комментарии (1) RSS

Добавить комментарий

Я, guest, находясь в здравом уме и твердой памяти, торжественно заявляю:

    А не использовать ли нам bbcode?


    8