diff options
Diffstat (limited to 'engines/cine/texte.cpp')
-rw-r--r-- | engines/cine/texte.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/cine/texte.cpp b/engines/cine/texte.cpp index 226dda2eb6..3090392301 100644 --- a/engines/cine/texte.cpp +++ b/engines/cine/texte.cpp @@ -1,7 +1,8 @@ -/* ScummVM - Scumm Interpreter - * Copyright (C) 2006 The ScummVM project +/* ScummVM - Graphic Adventure Engine * - * cinE Engine is (C) 2004-2005 by CinE Team + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -52,9 +53,8 @@ void loadTextData(const char *pFileName, byte *pDestinationBuffer) { assert(pFileName); assert(pDestinationBuffer); - pFileHandle.open(pFileName); - - assert(pFileHandle.isOpen()); + if (!pFileHandle.open(pFileName)) + error("loadTextData(): Cannot open file %s", pFileName); entrySize = pFileHandle.readUint16BE(); numEntry = pFileHandle.readUint16BE(); |