CVar with "\" is restored incorrectly after loading a save

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)
Contact:

CVar with "\" is restored incorrectly after loading a save

Post by m8f »

cvar-bug.pk3
(202 Bytes) Downloaded 25 times
(contains just a cvarinfo with server cb_test CVar)

Steps to reproduce:
1. Start a new game;
2. Open console;
3. Type in console:

Code: Select all

cb_test "hello\\world"
3.1. CVar value is set as intended:

Code: Select all

cb_test
"cb_test" is "hello\world"
4. Save a game;
5. Load that saved game;
6. Type in console:

Code: Select all

cb_test
Expected result:

Code: Select all

"cb_test" is "hello\world"
Actual result:

Code: Select all

"cb_test" is "hello"
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: CVar with "\" is restored incorrectly after loading a sa

Post by Graf Zahl »

fixed.
Post Reply

Return to “Closed Bugs [GZDoom]”