SCI: Some restructuring. Added some SCI3 placeholders/stubs

svn-id: r54280
This commit is contained in:
Filippos Karapetis 2010-11-17 08:53:02 +00:00
parent 0470e47145
commit f44b084deb
4 changed files with 46 additions and 35 deletions

View file

@ -148,7 +148,7 @@ static bool relocateBlock(Common::Array<reg_t> &block, int block_location, Segme
return false;
}
block[idx].segment = segment; // Perform relocation
if (getSciVersion() >= SCI_VERSION_1_1)
if (getSciVersion() >= SCI_VERSION_1_1 && getSciVersion() <= SCI_VERSION_2_1)
block[idx].offset += scriptSize;
return true;