SCI: Make Script::_exportTable const (yay :-)
svn-id: r49315
This commit is contained in:
parent
5143e7fff4
commit
42d6ed880b
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue