From 91cf68018261016c8b3ef6c62f21db964ee8a23c Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 15 Apr 2021 17:55:58 +0200 Subject: [PATCH] improved ASCII: fixed domination --- graph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graph.cpp b/graph.cpp index 28484144..86779c6f 100644 --- a/graph.cpp +++ b/graph.cpp @@ -2883,11 +2883,11 @@ EX bool drawMonster(const shiftmatrix& Vparam, int ct, cell *c, color_t col, col ld depth = geom3::factor_to_lev(wormhead(c) == c ? cgi.AHEAD : cgi.ABODY); footphase = 0; int q = isize(ptds); - res = res || drawMonsterType(moPlayer, c, Vs, col, footphase, asciicol); + res = res | drawMonsterType(moPlayer, c, Vs, col, footphase, asciicol); pushdown(c, q, Vs, -depth, true, false); } - else res = res || drawMonsterType(moPlayer, c, Vs, col, footphase, asciicol); + else res = res | drawMonsterType(moPlayer, c, Vs, col, footphase, asciicol); } #endif return res;