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:
Torbjörn Andersson 2008-03-26 21:58:56 +00:00
parent bf71af3c91
commit 762398376f

View File

@ -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];