diff --git a/C++ProjectTemplate b/C++ProjectTemplate index 5e86890..95c4f5d 100755 Binary files a/C++ProjectTemplate and b/C++ProjectTemplate differ diff --git a/main.cpp b/main.cpp index 0d4c35a..4299b2a 100644 --- a/main.cpp +++ b/main.cpp @@ -337,13 +337,16 @@ bool Meteos::OnUserUpdate(float fElapsedTime) } std::cout<<"Launch Block ("<&info:matchedBlockIDs) { + Block&b=gameBoard.getBlocks(info.first)[info.second]; for (Block&b2:gameBoard.getBlocks(b.pos.x/12)) { if (!b2.markedForRemoval&&b2.pos.y<=b.pos.y) { c.addBlockOnTopOf(b.pos.x/12,b2.col); b2.markedForRemoval=true; } } - c.vspeed=gameBoard.launchSpd; } gameBoard.addClump(c); }