1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 03:04:48 +00:00

viewcenter() in product (fix for product)

This commit is contained in:
Zeno Rogue 2019-08-17 23:29:37 +02:00
parent 95da7ff09e
commit 6c19c6eadf

View File

@ -7984,6 +7984,7 @@ EX void drawBug(const cellwalker& cw, color_t col) {
EX cell *viewcenter() {
if(masterless) return centerover.at;
else if(prod) return product::get_at(viewctr.at->c7, 0);
else return viewctr.at->c7;
}