git repos / blockattack-game

commit b3d74fc4

Poul Sander · 2023-11-15 16:04
b3d74fc43fbb4d1ab144f09ce23ac472fd3f1689 patch · browse files
parent 68c75938aca0d449bedf61b3fd3d27f329755909

Start custom themes with 1..4 instead of 0..3

Changed files

M source/code/themes.cpp before
diff --git a/source/code/themes.cpp b/source/code/themes.cpp index ed28123..89eac92 100644 --- a/source/code/themes.cpp +++ b/source/code/themes.cpp
@@ -237,7 +237,7 @@ void InitThemes() {
}
}
ReadThemeDataFromFile("custom_themes.json");
- for (int i=0; i < 4; ++i) {
+ for (int i=1; i <= 4; ++i) {
ThemesAddCustomSlot(themes, i);
}
DumpThemeData();