Index: src/gui.d ================================================================== --- src/gui.d +++ src/gui.d @@ -62,11 +62,11 @@ this.backColor = Color(255,255,255); this.colors['#'] = this.colors['.'] = Color(255,191,127); this.colors['*'] = Color(255,127,127); this.colors['R'] = Color(128,128,0); - this.colors['D'] = Color(255,0,0); + this.colors['d'] = Color(255,0,0); this.colors['\\'] = this.colors['L'] = this.colors['O'] = Color(127,255,127); this.colors['W'] = Color(204,229,255); foreach(char c; 'A'..'J') this.colors[c] = Color(142,142,255); @@ -74,11 +74,11 @@ this.render['#'] = "■"; this.render['*'] = "✹"; this.render['.'] = "♒"; this.render['\\'] = "λ"; this.render['R'] = "☃"; - this.render['D'] = "☠"; + this.render['d'] = "☠"; this.render['L'] = "☒"; this.render['O'] = "☐"; foreach(c,tp; g.map.tr_target) { char d = g.map[tp]; this.render[c] = [cast(dchar)('㋀'+d-'1')].to!string(); @@ -106,11 +106,11 @@ for(int x=1; x<=g.map.W; ++x) { Rect r = Rect(cell*(x-1), scrH-cell*y, cell, cell); char c = g.map[y,x]; if( c != ' ' ) { if( c == 'R' && g.dead ) - c = 'D'; + c = 'd'; graphicContext.drawText(this.render[c], font, this.colors[c], r); } } // Update textual info.