Skip to content

Commit

Permalink
Merge pull request #5 from FreeSlave/fix-trigger_sound-save-restore
Browse files Browse the repository at this point in the history
Fix trigger_sound field type for m_iszMaster
  • Loading branch information
LogicAndTrick authored Dec 18, 2024
2 parents cb8c0ea + 59a9eb6 commit bc71d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ LINK_ENTITY_TO_CLASS(trigger_sound, CTriggerSound);
TYPEDESCRIPTION CTriggerSound::m_SaveData[] =
{
DEFINE_FIELD(CTriggerSound, m_flRoomtype, FIELD_FLOAT),
DEFINE_FIELD(CTriggerSound, m_iszMaster, FIELD_FLOAT),
DEFINE_FIELD(CTriggerSound, m_iszMaster, FIELD_STRING),
};

IMPLEMENT_SAVERESTORE(CTriggerSound, CBaseDelay);
Expand Down

0 comments on commit bc71d7b

Please sign in to comment.