diff options
author | Filippos Karapetis | 2010-05-30 18:45:07 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-05-30 18:45:07 +0000 |
commit | 016862ac3a4928529d9eaedf6edf3e916c89155c (patch) | |
tree | 99d7cca38a0dfa5eebc3bcf465d86ff7922348de /engines/sci/engine/segment.h | |
parent | 29c2f30558e9c40d5c1a76ab600611b21ee72851 (diff) | |
download | scummvm-rg350-016862ac3a4928529d9eaedf6edf3e916c89155c.tar.gz scummvm-rg350-016862ac3a4928529d9eaedf6edf3e916c89155c.tar.bz2 scummvm-rg350-016862ac3a4928529d9eaedf6edf3e916c89155c.zip |
Moved setScriptSize() inside Script::init(), and removed a FIXME - the SCI1.1 word-align is done inside Script::init()
svn-id: r49330
Diffstat (limited to 'engines/sci/engine/segment.h')
-rw-r--r-- | engines/sci/engine/segment.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h index 3a4e929abe..127ab28b7e 100644 --- a/engines/sci/engine/segment.h +++ b/engines/sci/engine/segment.h @@ -363,7 +363,7 @@ public: ~Script(); void freeScript(); - bool init(int script_nr, ResourceManager *resMan); + void init(int script_nr, ResourceManager *resMan); void load(ResourceManager *resMan); virtual bool isValidOffset(uint16 offset) const; @@ -512,9 +512,6 @@ public: * Finds the pointer where a block of a specific type starts from */ byte *findBlock(int type); - -private: - void setScriptSize(int script_nr, ResourceManager *resMan); }; /** Data stack */ |