Showing
2 changed files
with
2 additions
and
1 deletions
... | ... | @@ -74,7 +74,7 @@ function _M:display(x, y, nb_keyframes, screen_x, screen_y) |
74 | 74 | local dx, dy = x + 15 + (128 - self.iw) / 2, y + 15 + (192 - self.ih) / 2 |
75 | 75 | if self.actor_frame then |
76 | 76 | self.actor_frame:display(dx, dy - self.iy) |
77 | - else | |
77 | + elseif self.item then | |
78 | 78 | self.item[1]:toScreen(dx, dy - self.iy, self.iw, self.ih) |
79 | 79 | end |
80 | 80 | core.display.glScissor(false) | ... | ... |
... | ... | @@ -242,6 +242,7 @@ Birther:loadDefinition("/data/birth/descriptors.lua") |
242 | 242 | Store:loadStores("/data/general/stores/basic.lua") |
243 | 243 | |
244 | 244 | -- Configure chat dialogs |
245 | +require("engine.dialogs.Chat").show_portraits = true | |
245 | 246 | require("engine.Chat").chat_dialog = "mod.dialogs.Chat" |
246 | 247 | |
247 | 248 | -- Inventory tabs | ... | ... |
-
Please register or login to post a comment