Skip to content
This repository was archived by the owner on Dec 10, 2022. It is now read-only.

Commit 0867083

Browse files
committed
fix typo
1 parent 6dfcaf2 commit 0867083

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

zenload/zCVob.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ static void read_zCVob_zCVobSound(zCVobData &info, ZenParser &parser, ZenParser:
441441
auto& rd = *parser.getImpl();
442442
info.vobType = zCVobData::VT_zCVobSound;
443443
rd.readEntry("sndVolume", info.zCVobSound.sndVolume);
444-
rd.readEntry("sndMode", reinterpret_cast<uint32_t&>(info.zCVobSound.sndType));
444+
rd.readEntry("sndMode", reinterpret_cast<uint32_t&>(info.zCVobSound.sndMode));
445445
rd.readEntry("sndRandDelay", info.zCVobSound.sndRandDelay);
446446
rd.readEntry("sndRandDelayVar", info.zCVobSound.sndRandDelayVar);
447447
rd.readEntry("sndStartOn", info.zCVobSound.sndStartOn);

zenload/zTypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ namespace ZenLoad
382382
struct
383383
{
384384
float sndVolume = 0;
385-
SoundMode sndType = SM_LOOPING;
385+
SoundMode sndMode = SM_LOOPING;
386386
float sndRandDelay = 0;
387387
float sndRandDelayVar = 0;
388388
bool sndStartOn = false;

0 commit comments

Comments
 (0)