up
This commit is contained in:
parent
7ffa41b3ee
commit
c299b19ca7
|
@ -1421,19 +1421,8 @@ int game_cmd(char *cmd)
|
|||
title = instead_retval(0);
|
||||
instead_clear();
|
||||
|
||||
if (title && *title) {
|
||||
snprintf(buf, sizeof(buf), "<b><c><a:look>%s</a></c></b>", title);
|
||||
txt_layout_set(el_layout(el_title), buf);
|
||||
} else
|
||||
txt_layout_set(el_layout(el_title), NULL);
|
||||
|
||||
new_place = check_new_place(title);
|
||||
|
||||
if (title && *title) {
|
||||
txt_layout_size(el_layout(el_title), NULL, &title_h);
|
||||
title_h += game_theme.font_size / 2; // todo?
|
||||
}
|
||||
|
||||
instead_eval("return get_picture();");
|
||||
pict = instead_retval(0);
|
||||
instead_clear();
|
||||
|
@ -1454,6 +1443,14 @@ int game_cmd(char *cmd)
|
|||
if (new_place)
|
||||
el_clear(el_title);
|
||||
|
||||
if (title && *title) {
|
||||
snprintf(buf, sizeof(buf), "<b><c><a:look>%s</a></c></b>", title);
|
||||
txt_layout_set(el_layout(el_title), buf);
|
||||
txt_layout_size(el_layout(el_title), NULL, &title_h);
|
||||
title_h += game_theme.font_size / 2; // todo?
|
||||
} else
|
||||
txt_layout_set(el_layout(el_title), NULL);
|
||||
|
||||
if (new_pict || fading ||
|
||||
(new_place && (game_theme.gfx_mode == GFX_MODE_FIXED))) {
|
||||
redraw_pict = 1;
|
||||
|
|
Reference in a new issue