Skip to content

Commit bcc736b

Browse files
committed
Fix links disappearing from text when loading a saved game
1 parent b2b9dd9 commit bcc736b

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
+ Changed: Inventory item usage options are displayed when the item receives system focus, not just when the mouse is hovering over it.
4949
+ Changed: Keypress tracking by key code instead of character code.
5050
+ Changed: Minor adjustment to informative window indentation.
51+
+ Fixed: Links disappear from the text when loading a saved game.
5152
+ Fixed: Text output containing line breaks is always displayed as a block element.
5253
+ Fixed: Paragraphs containing text output with block elements do not have left padding.
5354
+ Removed: Separate UrqW cursor for choosing and activating buttons (caused issues with simultaneous activation of two controls and was replaced with cluster navigation based on standard system focus).

js/Quest.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ Quest.prototype.save = function(slot) {
335335
status: GlobalPlayer.status,
336336
text: GlobalPlayer.text,
337337
buttons: GlobalPlayer.buttons,
338+
links: GlobalPlayer.links,
338339
items: this.items,
339340
vars: this.vars,
340341
position: this.position,
@@ -351,6 +352,7 @@ Quest.prototype.load = function(data) {
351352
GlobalPlayer.status = data.status;
352353
GlobalPlayer.text = data.text;
353354
GlobalPlayer.buttons = data.buttons;
355+
GlobalPlayer.links = data.links;
354356
this.items = data.items;
355357
this.vars = data.vars;
356358
this.position = data.position;

md/ru/other/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
+ Изменено: Варианты использования предмета в инвенторе отображаются, когда предмет принимает системный фокус, а не только когда на него наводится мышь.
4949
+ Изменено: Отслеживание нажатий клавиш не по коду символа, а по коду клавиши.
5050
+ Изменено: Небольшая правка отступа информативного окна.
51+
+ Исправлено: Ссылки исчезают из текста при загрузке сохранённой игры.
5152
+ Исправлено: Текстовый вывод, содержащий переносы строк, всегда отображается как блочный элемент.
5253
+ Исправлено: Абзацы, содержащие текстовый вывод с блочными элементами, не имеют отступа слева.
5354
+ Удалено: Отдельный курсор UrqW для выбора и активации кнопок (вызывал проблемы одновременной активации двух элементов управления и был заменён на кластерную навигацию на основе стандартного системного фокуса).

0 commit comments

Comments
 (0)