shmup/centerpc:: some sanity checks to prevent the PC from disappearing

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:04 +02:00
1 parent db38e0a271
commit e81912c11e
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -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