COMMON: Unbreak EventRecorder a little
This commit is contained in:
parent
d83a83ef50
commit
b065007c8f
1 changed files with 2 additions and 2 deletions
|
@ -144,7 +144,6 @@ void EventRecorder::init() {
|
|||
}
|
||||
|
||||
uint32 sign;
|
||||
//uint32 version;
|
||||
uint32 randomSourceCount;
|
||||
if (_recordMode == kRecorderPlayback) {
|
||||
_playbackCount = 0;
|
||||
|
@ -168,7 +167,8 @@ void EventRecorder::init() {
|
|||
if (sign != RECORD_SIGNATURE) {
|
||||
error("Unknown record file signature");
|
||||
}
|
||||
//version = _playbackFile->readUint32LE();
|
||||
|
||||
_playbackFile->readUint32LE(); // version
|
||||
|
||||
// conf vars
|
||||
ConfMan.setBool("subtitles", _playbackFile->readByte() != 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue