SCI: Make Script::_exportTable const (yay :-)

svn-id: r49315
This commit is contained in:
Max Horn 2010-05-29 21:42:42 +00:00
parent 5143e7fff4
commit 42d6ed880b
4 changed files with 4 additions and 4 deletions

View file

@ -362,7 +362,7 @@ void Script::setLockers(int lockers) {
void Script::setExportTableOffset(int offset) {
if (offset) {
_exportTable = (uint16 *)(_buf + offset + 2);
_exportTable = (const uint16 *)(_buf + offset + 2);
_numExports = READ_SCI11ENDIAN_UINT16(_exportTable - 1);
} else {
_exportTable = NULL;