more window port code uses of obj_to_glyph()
This commit is contained in:
@@ -3461,7 +3461,7 @@ void NetHackQtInvUsageWindow::drawWorn(QPainter& painter, obj* nhobj, int x, int
|
||||
{
|
||||
short int glyph;
|
||||
if (nhobj)
|
||||
glyph=obj_to_glyph(nhobj);
|
||||
glyph=obj_to_glyph(nhobj, rn2_on_display_rng);
|
||||
else if (canbe)
|
||||
glyph=cmap_to_glyph(S_room);
|
||||
else
|
||||
|
||||
@@ -75,7 +75,7 @@ image_of_worn_object(struct obj *o)
|
||||
GdkImlibImage *im;
|
||||
|
||||
if (o)
|
||||
glyph = obj_to_glyph(o);
|
||||
glyph = obj_to_glyph(o, rn2_on_display_rng);
|
||||
else
|
||||
glyph = cmap_to_glyph(S_stone);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user