From da6e5c46607f733154f1f932a158678f5293c884 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Tue, 10 Jun 2008 19:57:38 +0000 Subject: Another redesign on the Draw Steps. This time it's for real. svn-id: r32647 --- graphics/VectorRenderer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics/VectorRenderer.cpp') diff --git a/graphics/VectorRenderer.cpp b/graphics/VectorRenderer.cpp index 109ae24f03..2c50ddd0ec 100644 --- a/graphics/VectorRenderer.cpp +++ b/graphics/VectorRenderer.cpp @@ -54,7 +54,7 @@ VectorRenderer *createRenderer(int mode) { void VectorRenderer::drawStep(Common::Rect area, DrawStep *step) { if (step->flags & DrawStep::kStepCallbackOnly) { - (this->*(step->drawing_call))(&area, step->extra_data); + (this->*(step->drawing_call))(&area, step); return; } @@ -83,7 +83,7 @@ void VectorRenderer::drawStep(Common::Rect area, DrawStep *step) { if (step->flags & DrawStep::kStepSettingsOnly) return; - (this->*(step->drawing_call))(&area, step->extra_data); + (this->*(step->drawing_call))(&area, step); } /******************************************************************** -- cgit v1.2.3