mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-24 15:18:34 +00:00
remove unbreakbable on height
This commit is contained in:
+7
-5
@@ -450,10 +450,12 @@ namespace BBM
|
||||
map[std::make_tuple(i, 0, j)] = BREAKABLE;
|
||||
}
|
||||
}
|
||||
if (!isNotClassic)
|
||||
map = createClassicUnbreakable(map, width, height);
|
||||
else
|
||||
map = createLongClassicUnbreakable(map, width, height);
|
||||
if (!isHeight) {
|
||||
if (!isNotClassic)
|
||||
map = createClassicUnbreakable(map, width, height);
|
||||
else
|
||||
map = createLongClassicUnbreakable(map, width, height);
|
||||
}
|
||||
if (isHeight)
|
||||
map = createHeight(map, width, height);
|
||||
map = cleanBreakable(map, width, height);
|
||||
@@ -461,7 +463,7 @@ namespace BBM
|
||||
}
|
||||
|
||||
void MapGenerator::generateHeightCollision(MapBlock map, int width, int height, std::shared_ptr<WAL::Scene> scene)
|
||||
{
|
||||
{
|
||||
int floor = 2;
|
||||
|
||||
for (int i = 0; i < width + 1; i++) {
|
||||
|
||||
Reference in New Issue
Block a user