mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
shmup/centerpc:: some sanity checks to prevent the PC from disappearing
This commit is contained in:
1 parent
db38e0a271
commit
e81912c11e
2 files changed
+3
-1
No files matched your search
@@ -1154,6 +1154,7 @@ void centerpc(ld aspd) {
|
||||
DEBBI(DF_GRAPH, ("center pc"));
|
||||
|
||||
ors::unrotate(cwtV); ors::unrotate(View);
|
||||
if(invalid_matrix(cwtV)) return;
|
||||
|
||||
transmatrix T = cwtV;
|
||||
#if MAXMDIM >= 4
|
||||
|
||||
Reference in new issue
Block a user