1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-16 22:57:38 +00:00

fixed bugs with manual celllisters

This commit is contained in:
Zeno Rogue
2018-06-28 13:35:03 +02:00
parent d11044a80a
commit cf8dffd6b8
8 changed files with 38 additions and 37 deletions

View File

@@ -621,7 +621,7 @@ namespace mapeditor {
vector<pair<cellwalker, cellwalker> > spill_list;
void list_spill(cellwalker tgt, cellwalker src, celllister& cl) {
void list_spill(cellwalker tgt, cellwalker src, manual_celllister& cl) {
spill_list.clear(); sval++;
spill_list.emplace_back(tgt, src);
int crad = 0, nextstepat = 0;
@@ -668,7 +668,7 @@ namespace mapeditor {
}
#endif
void editAt(cellwalker where, celllister& cl) {
void editAt(cellwalker where, manual_celllister& cl) {
if(painttype == 4 && radius) {
if(where.c->type != copysource.c->type) return;
@@ -685,7 +685,7 @@ namespace mapeditor {
void allInPattern(cellwalker where) {
celllister cl(manual);
manual_celllister cl;
if(!patterns::whichPattern) {
editAt(where, cl);
return;