aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2009-03-14 00:05:01 +0000
committerFilippos Karapetis2009-03-14 00:05:01 +0000
commitb78001f7ca1fb433ce3605fb141ecc18ad436d7c (patch)
tree3457526c72cfa1aedc2bacb958cefd202864efad /engines/sci/engine
parentf5129b7cb7c4d66e81ba5e6971397b00182a2e61 (diff)
downloadscummvm-rg350-b78001f7ca1fb433ce3605fb141ecc18ad436d7c.tar.gz
scummvm-rg350-b78001f7ca1fb433ce3605fb141ecc18ad436d7c.tar.bz2
scummvm-rg350-b78001f7ca1fb433ce3605fb141ecc18ad436d7c.zip
Changed the "internal" variable inside gfxr_pic_t to priorityTable (cause that's what it is), and changed its type to int * to avoid unneeded casts
svn-id: r39375
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kgraphics.cpp2
-rw-r--r--engines/sci/engine/savegame.cfsml2
-rw-r--r--engines/sci/engine/savegame.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index e1dcfad108..604160f3d1 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -1048,7 +1048,7 @@ reg_t kDrawPic(EngineState *s, int funct_nr, int argc, reg_t *argv) {
s->port = s->picture_port;
- s->pic_priority_table = (int*)gfxop_get_pic_metainfo(s->gfx_state);
+ s->pic_priority_table = gfxop_get_pic_metainfo(s->gfx_state);
if (sci01_priority_table_flags & 0x2) {
if (s->pic_priority_table) {
diff --git a/engines/sci/engine/savegame.cfsml b/engines/sci/engine/savegame.cfsml
index b41af91e5f..a2e64c9a35 100644
--- a/engines/sci/engine/savegame.cfsml
+++ b/engines/sci/engine/savegame.cfsml
@@ -1115,7 +1115,7 @@ EngineState *gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) {
retval->have_mouse_flag = 1;
retval->successor = NULL;
- retval->pic_priority_table = (int*)gfxop_get_pic_metainfo(retval->gfx_state);
+ retval->pic_priority_table = gfxop_get_pic_metainfo(retval->gfx_state);
retval->game_name = sci_strdup(obj_get_name(retval, retval->game_obj));
retval->sound.it = NULL;
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index ab9e97b9e9..ab04e5475d 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -5276,7 +5276,7 @@ EngineState *gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) {
retval->have_mouse_flag = 1;
retval->successor = NULL;
- retval->pic_priority_table = (int*)gfxop_get_pic_metainfo(retval->gfx_state);
+ retval->pic_priority_table = gfxop_get_pic_metainfo(retval->gfx_state);
retval->game_name = sci_strdup(obj_get_name(retval, retval->game_obj));
retval->sound.it = NULL;