1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2026-02-05 22:58:27 +00:00
openmw-tes3mp/apps
David Cernat abdaedd752 [Client] Rely on untranslated topics in ObjectDialogueChoice packets
Previously, when using the Russian edition, all dialogue topics were translated into English before being sent to the server in an ObjectDialogueChoice packet and were then translated back into Russian when received again by the client. However, there were situations where different topics in English corresponded to the same Russian word, e.g. "chores" and "duties" were both translated as "задания", which led to the incorrect topic being used on the client in the end.

This commit makes it so that users of the Russian edition send ObjectDialogueChoice packets where the topicId variable contains both the untranslated topic and the translated one, delimited by a | character, with the client simply using the former when receiving the packet again.

This is a hotfix instead of the proper fix, as the proper fix would use different variables for the two versions of the topic and thus require the structure of the ObjectDialogueChoice packet to change.
2022-02-16 22:19:58 +02:00
..
benchmarks Support benchmarks for windows 2021-05-11 13:16:59 +02:00
browser Add OpenMW commits up to 21 May 2021 2021-05-21 16:00:09 +02:00
bsatool
esmtool Teensy optimisation for esmtool 2021-05-06 22:41:20 +02:00
essimporter
launcher Add OpenMW 0.47 commits up to 1 Jul 2021 2021-07-01 19:13:04 +02:00
master
mwiniimporter Fix MSVC's C4267 warnings 2021-05-12 10:34:39 +04:00
niftest Fixing performance-faster-string-find issues 2021-05-10 22:44:07 -05:00
opencs Add OpenMW 0.47 commits up to 23 Sep 2021 2021-09-23 19:24:45 +02:00
openmw [Client] Rely on untranslated topics in ObjectDialogueChoice packets 2022-02-16 22:19:58 +02:00
openmw-mp Revert "Merge branch '0.7.1-window-input' into 0.7.1" 2022-02-10 16:33:58 +02:00
openmw_test_suite Store copies of ref_ptr for btCollisionShape wrappers in Navigator 2021-08-04 13:16:31 +02:00
wizard Remove some useless includes from the wizzard 2021-04-21 19:08:06 +02:00
doc.hpp first set of additional doxygen comments 2010-09-25 15:03:53 +02:00