mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fixed an issue in pure product shmup
This commit is contained in:
		| @@ -1341,6 +1341,10 @@ EX void centerpc(ld aspd) { | ||||
|       T = currentmap->relative_matrix(pc->base, cc, C0) * T; | ||||
|       }       | ||||
|     if(WDIM == 2 && !masterless) T = master_relative(pc->base) * T; | ||||
|     if(prod) { | ||||
|       cell *c = hybrid::get_where(pc->base).first; | ||||
|       T = PIU(master_relative(c)) * T; | ||||
|       } | ||||
|     int sl = snakelevel(cwt.at); | ||||
|     if(sl && WDIM == 2) T = T * zpush(cgi.SLEV[sl] - cgi.FLOOR); | ||||
|     View = inverse(T); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue