typo
This commit is contained in:
@@ -94,7 +94,7 @@ void GameParameters::updateStats() {
|
||||
/* GRAVITY */
|
||||
// get gravity for an assumed 20-rows board
|
||||
static const int gravityPerLevel[] = {
|
||||
0, // LVL0
|
||||
0, // lvl0 = no gravity
|
||||
1, // 60f/line, 20s total
|
||||
2, // 30f/line, 10s total
|
||||
3, // 20f/line, 6.66s total
|
||||
@@ -113,7 +113,8 @@ void GameParameters::updateStats() {
|
||||
40, // 1.5f/line, 30f total
|
||||
1 * 60, // 1line/f, 20f total
|
||||
2 * 60, // 2line/f, 10f total
|
||||
4 * 60 // 4line/f, 5f total
|
||||
4 * 60, // 4line/f, 5f total
|
||||
20 * 60 // lvl20 = instant gravity
|
||||
};
|
||||
if (this->level < 0) {
|
||||
this->gravity = gravityPerLevel[0];
|
||||
|
||||
Reference in New Issue
Block a user