SNDINFO new format (equals sign) doesn't work with everything

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.
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

SNDINFO new format (equals sign) doesn't work with everything

Post by Nash »

Code: Select all

// Pain (falling damage)
$playersound player male *pain-Falling = "sounds/player/male/pain-Falling.wav"

// Pain (drowning)
player/male/drowning_1 = "sounds/player/male/pain-Drowning_1.wav"
Gives an error:
Expected '=', got 'player/male/drowning_1'.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: SNDINFO new format (equals sign) doesn't work with everything

Post by Graf Zahl »

It only works for "sound_id = sound_file"

anything prefixed with a '$' was not changed.
The reason here was simply to allow a more robust parsing option that emits an error if such an assignment is incomplete.
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: SNDINFO new format (equals sign) doesn't work with everything

Post by Nash »

So [not a bug] then?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: SNDINFO new format (equals sign) doesn't work with everything

Post by Graf Zahl »

If the second one works it's not a bug.

Return to “Closed Bugs [GZDoom]”