[Bug] configuration conflict between different versions of hedgewars (with and without "video recording")

1 reply [Last post]
vasya
User offline. Last seen 6 years 29 weeks ago. Offline
Joined: 2015-12-22
Posts: 1
[b]Steps to reproduce:[/b] * have a configuration file ~/.hedgewars/settings.ini with an explicit "[binds] record=R" entry. It may come from older versions of hedewars (they had all binds explicit), or may be created using a client that supports video recording. * start hedgewars client that was compiled without video recording. * try to bind any action to "Keyboard: R" button. * try to use "R" in game. It does not do anything. [b]Explanation:[/b] Video recording was disabled when compiling the client, so the client does not have any graphical user interface section for "record" action. The binding still exists though and prevents "R" button from being used for other purposes (this is an experimental fact). [b]Hack to fix the problem:[/b] * delete "binds.record" entry from ~/.hedgewars/settings.ini * delete "binds.record" entry from ~/.hedgewars/Teams/myTeam.ini [b]Expected behavior:[/b] * for clients that were compiled without "video recording", do not read "binds.record" configuration at all.
Wuzzy
Wuzzy's picture
User offline. Last seen 3 days 20 hours ago. Offline
Joined: 2012-06-20
Posts: 1301
This bug no longer occours in the development version. The bugfix is visible in the alpha versions for 0.9.23.
Hi, I am a Hedgewars developer. Smile
Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]