Skip to content

Commit 9274ba7

Browse files
committed
model is now not corrupted.
strikes and falling is perfect pending to automatically collapse strikes
1 parent 5b5b050 commit 9274ba7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

JewelBoard.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ void JewelBoard::shiftDown(BoardPos pos)
136136
LOG_INFO("jewel " << next << " popped up (dead: " << getJewel(next).isDead() << ")" );
137137

138138
pureSwap(pos, next);
139-
//m_model.pureSwap(pos, next);
139+
m_model.pureSwap(pos, next);
140140
//it will be set to falling again if lower jewel is detected to be empty
141141
getJewel(next).resetFalling();
142142
getJewel(pos).resetFalling();

JewelObject.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "TextureManager.h"
1212
#include "Game.h"
1313

14-
const short JewelObject::FALLING_STEPS = 300;
14+
const short JewelObject::FALLING_STEPS = 100;
1515

1616
JewelObject::JewelObject(Jewel &jewel, bool firstRow) :
1717
m_model(&jewel),

0 commit comments

Comments
 (0)