mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
count_scores -- move earlier
This commit is contained in:
parent
5877690cce
commit
517f540800
10
scores.cpp
10
scores.cpp
@ -388,7 +388,15 @@ void load() {
|
||||
});
|
||||
}
|
||||
|
||||
}}
|
||||
}
|
||||
|
||||
EX map<int, int> qty_scores_for;
|
||||
|
||||
EX void count_scores() {
|
||||
qty_scores_for.clear();
|
||||
for(auto s: scores::scores) qty_scores_for[scores::MODECODE_BOX]++;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -979,7 +979,9 @@ void loadBox() {
|
||||
boxid = 0; loading = true; applyBoxes(); loading = false;
|
||||
}
|
||||
|
||||
const int MODECODE_BOX = 387;
|
||||
#if HDR
|
||||
constexpr int MODECODE_BOX = 387;
|
||||
#endif
|
||||
|
||||
modecode_t fill_modecode() {
|
||||
dynamicval<int> sp1(multi::players, save.box[197]);
|
||||
|
Loading…
Reference in New Issue
Block a user