mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-20 08:27:39 +00:00
you can no longer go through walls in portalspaces
This commit is contained in:
@@ -1955,6 +1955,8 @@ EX void centerpc(ld aspd) {
|
||||
ors::rerotate(W); ors::rerotate(cwtV.T); ors::rerotate(View);
|
||||
}
|
||||
|
||||
EX transmatrix oView;
|
||||
|
||||
EX void optimizeview() {
|
||||
|
||||
if(subscreens::split(optimizeview)) return;
|
||||
@@ -1971,6 +1973,11 @@ EX void optimizeview() {
|
||||
|
||||
View = iview_inverse(iView);
|
||||
fixmatrix(View);
|
||||
|
||||
if(is_boundary(centerover))
|
||||
centerover = c, View = oView;
|
||||
else
|
||||
oView = View;
|
||||
|
||||
#if CAP_ANIMATIONS
|
||||
if(centerover && inmirror(centerover)) {
|
||||
|
Reference in New Issue
Block a user