diff options
author | Eugene Sandulenko | 2006-10-08 07:48:19 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-10-08 07:48:19 +0000 |
commit | 9142322cb0f7a4270b910a6c5573ba5645812029 (patch) | |
tree | 6f800bb4a8fdd084f5645fc5cb9ccbe4775ca298 /engines/saga/rscfile.h | |
parent | 07183595e79ddbe2bdc2c07da461d2baf60b6cb1 (diff) | |
download | scummvm-rg350-9142322cb0f7a4270b910a6c5573ba5645812029.tar.gz scummvm-rg350-9142322cb0f7a4270b910a6c5573ba5645812029.tar.bz2 scummvm-rg350-9142322cb0f7a4270b910a6c5573ba5645812029.zip |
More const madness.
svn-id: r24191
Diffstat (limited to 'engines/saga/rscfile.h')
-rw-r--r-- | engines/saga/rscfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/rscfile.h b/engines/saga/rscfile.h index 1fa2b19946..0ab6b18741 100644 --- a/engines/saga/rscfile.h +++ b/engines/saga/rscfile.h @@ -40,9 +40,9 @@ namespace Saga { struct PatchData { bool _deletePatchFile; Common::File *_patchFile; - GamePatchDescription *_patchDescription; + const GamePatchDescription *_patchDescription; - PatchData(GamePatchDescription *patchDescription): _patchDescription(patchDescription), _deletePatchFile(true) { + PatchData(const GamePatchDescription *patchDescription): _patchDescription(patchDescription), _deletePatchFile(true) { _patchFile = new Common::File(); } PatchData(Common::File *patchFile): _patchDescription(NULL), _patchFile(patchFile), _deletePatchFile(false) { |