diff options
Diffstat (limited to 'engines/sci/gfx/operations.cpp')
| -rw-r--r-- | engines/sci/gfx/operations.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp index 1c5f6a32bc..2f9930fc68 100644 --- a/engines/sci/gfx/operations.cpp +++ b/engines/sci/gfx/operations.cpp @@ -1300,19 +1300,6 @@ sci_event_t gfxop_get_event(GfxState *state, unsigned int mask) { // View operations -int gfxop_lookup_view_get_loops(GfxState *state, int nr) { - int loop = 0, cel = 0; - gfxr_view_t *view = NULL; - - view = state->gfxResMan->getView(nr, &loop, &cel, 0); - - if (!view) { - error("[GFX] Attempt to retrieve number of loops from invalid view %d", nr); - } - - return view->loops_nr; -} - int gfxop_lookup_view_get_cels(GfxState *state, int nr, int loop) { int real_loop = loop, cel = 0; gfxr_view_t *view = NULL; |
