NAAAAAAAAAAAAAARFsvn stat

This commit is contained in:
Christian Kroll 2010-12-15 18:43:14 +00:00
parent 093790c3d3
commit 02c1038dc6
1 changed files with 2 additions and 2 deletions

View File

@ -498,8 +498,8 @@ uint16_t* tetris_bucket_predictNextRow(tetris_bucket_iterator_t *pIt)
if ((pIt->nCurrentRow <= pIt->nPieceLowestRow) && if ((pIt->nCurrentRow <= pIt->nPieceLowestRow) &&
(pIt->nCurrentRow >= pIt->nPieceHighestRow)) (pIt->nCurrentRow >= pIt->nPieceHighestRow))
{ {
uint16_t nTemp = pIt->nPieceMap & 0xF000; nTemp = pIt->nPieceMap & 0xF000;
nTemp |= pIt->nShift >= 0 ? nTemp = pIt->nShift >= 0 ?
nTemp << pIt->nShift : nTemp >> -pIt->nShift; nTemp << pIt->nShift : nTemp >> -pIt->nShift;
pIt->nPieceMap <<= 4; pIt->nPieceMap <<= 4;
} }