1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-16 10:19:58 +00:00

rots:: fixed ordering of vertices on walls

This commit is contained in:
Zeno Rogue 2019-08-27 15:45:15 +02:00
parent 8b5c0f923d
commit b0b843fc22

View File

@ -754,6 +754,7 @@ EX namespace hybrid {
l.push_back(hybrid::get_corner(c1, i, 1, z));
l.push_back(hybrid::get_corner(c1, i, 0, z));
}
if(a == 0) std::reverse(l.begin()+1, l.end());
cgi.make_wall(won-2+a, l);
}