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:
parent
95da7ff09e
commit
6c19c6eadf
@ -7984,6 +7984,7 @@ EX void drawBug(const cellwalker& cw, color_t col) {
|
|||||||
|
|
||||||
EX cell *viewcenter() {
|
EX cell *viewcenter() {
|
||||||
if(masterless) return centerover.at;
|
if(masterless) return centerover.at;
|
||||||
|
else if(prod) return product::get_at(viewctr.at->c7, 0);
|
||||||
else return viewctr.at->c7;
|
else return viewctr.at->c7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user