1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

3d:: mirrors are broken, but produce no effect

This commit is contained in:
? 2019-02-27 18:34:27 +01:00 committed by Zeno Rogue
parent c797d4ccba
commit a11d2726fb

View File

@ -1258,6 +1258,7 @@ namespace mirror {
}
void createHere(cellwalker cw, int cpid) {
if(DIM == 3) return;
if(!cw.at) return;
if(cw.at->wall == waCloud)
createMirages(cw, cpid);
@ -1267,7 +1268,6 @@ namespace mirror {
void breakMirror(cellwalker cw, int pid) {
if(!cw.at) return;
if(DIM == 3) return;
cell *c = cw.at;
if(c->wall == waMirror || c->wall == waCloud) {
drawParticles(c, winf[c->wall].color, 16);