env_fade: fix bogus reading of key names in SpawnKey()
This commit is contained in:
parent
3d92491e54
commit
2dbfeb06b6
2 changed files with 2 additions and 3 deletions
|
@ -92,10 +92,10 @@ void
|
|||
env_fade::SpawnKey(string strKey, string strValue)
|
||||
{
|
||||
switch (strKey) {
|
||||
case "m_flFadeDuration":
|
||||
case "duration":
|
||||
m_flFadeDuration = stof(strValue);
|
||||
break;
|
||||
case "m_flFadeHold":
|
||||
case "holdtime":
|
||||
m_flFadeHold = stof(strValue);
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -392,7 +392,6 @@ func_tracktrain::PathNext(void)
|
|||
void
|
||||
func_tracktrain::Trigger(entity act, triggermode_t state)
|
||||
{
|
||||
breakpoint();
|
||||
PathMove();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue