mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-02 23:41:42 +00:00
shmup/centerpc:: some sanity checks to prevent the PC from disappearing
This commit is contained in:
@@ -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