1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-14 09:26:52 +00:00

intra:: set T=Id to prevent possible rendering errors

This commit is contained in:
Zeno Rogue 2021-10-09 15:46:14 +02:00
parent 09f8aefba7
commit 868b75f64e

View File

@ -136,6 +136,7 @@ EX portal_data make_portal(cellwalker cw, int spin) {
auto fac = ss.faces_local[cw.spin];
portal_data id;
id.scale = 1;
id.T = Id;
auto gg = geometry;
if(prod && cw.spin >= cw.at->type - 2) {
id.kind = 1;