
위와같은 이상한 상황이 생겨버렸다.
문제는 충돌감지후에 3프레임 이후 새 블록으로 교체하는 방식이기 때문이다.
위의 문제 해결방법은 간단하게 떠올릴 수 있었다.
void ResetSpawnFlag() {
	static int spawnReadyTimer = 0;
	if (collisionFlag == true) {
		spawnReadyTimer++;
	}
	if (spawnReadyTimer >= 3) {
		spawnReadyTimer = 0;
		canSpawn = true;
		collisionFlag = false;
		CheckLines();
	}
}
bool canSpawn = true;
int collisionNumber = 0;
		// 경계검사를 한다.
		if (!CheckBoundary(nextY, nextX)) {
			moveFlag = false;
			collisionNumber++;
			return;
		}
		// 이미 nextY, nextX에 블록이 있는지 검사한다.
		// 자기자신인지도 체크한다.
		pair<int, int> nextPosPair = make_pair(nextY, nextX);
		if (treeMap.find(nextPosPair) == treeMap.end() && grid[nextY][nextX] == 1) {
			moveFlag = false;
			collisionNumber++;
			return;
		}