mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-20 11:54:48 +00:00
REVERT gen_sample_list for non-hybrid
This commit is contained in:
parent
eed8ba49ab
commit
42f64f5bcf
@ -1444,6 +1444,7 @@ EX namespace hybrid {
|
||||
});
|
||||
|
||||
EX vector<pair<int, cell*>> gen_sample_list() {
|
||||
if(!hybri && WDIM != 2) return {make_pair(0, centerover), make_pair(centerover->type, nullptr)};
|
||||
vector<pair<int, cell*>> result;
|
||||
for(auto& v: cgi.walloffsets) if(v.first >= 0) result.push_back(v);
|
||||
sort(result.begin(), result.end());
|
||||
|
Loading…
Reference in New Issue
Block a user