mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
Fixed GCC warning. It warns about "if (a = b)" unless you put an extra set of
parentheses around the assignment. svn-id: r31255
This commit is contained in:
parent
bf71af3c91
commit
762398376f
@ -136,7 +136,7 @@ void KyraEngine_v2::loadGame(const char *fileName) {
|
||||
Common::InSaveFile *in = openSaveForReading(fileName, version, saveName);
|
||||
if (!in) {
|
||||
// check for original savefile
|
||||
if (in = _saveFileMan->openForLoading(fileName)) {
|
||||
if ((in = _saveFileMan->openForLoading(fileName))) {
|
||||
in->seek(0x50, SEEK_CUR);
|
||||
|
||||
uint8 type[4];
|
||||
|
Loading…
Reference in New Issue
Block a user