From 71329df502bb07f105f34ac6c4b871ee0e8e19e0 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 11 Jun 2012 22:38:03 +1000 Subject: TONY: Removed unused variable --- engines/tony/font.cpp | 2 -- engines/tony/font.h | 1 - 2 files changed, 3 deletions(-) (limited to 'engines') diff --git a/engines/tony/font.cpp b/engines/tony/font.cpp index 6652e77e13..6f70f41d80 100644 --- a/engines/tony/font.cpp +++ b/engines/tony/font.cpp @@ -1760,7 +1760,6 @@ void RMFontObj::init(void) { \****************************************************************************/ RMFontColor *RMText::_fonts[4] = { NULL, NULL, NULL, NULL }; -RMGfxClearTask RMText::_clear; void RMText::initStatics() { Common::fill(&_fonts[0], &_fonts[4], (RMFontColor *)NULL); @@ -1891,7 +1890,6 @@ void RMText::writeText(const RMString &text, RMFontColor *font, int *time) { // Create the surface create(width, height); - //AddPrim(new RMGfxPrimitive(&m_clear)); Common::fill(_buf, _buf + width * height * 2, 0); p = string; diff --git a/engines/tony/font.h b/engines/tony/font.h index d1423c9749..daaac84a59 100644 --- a/engines/tony/font.h +++ b/engines/tony/font.h @@ -175,7 +175,6 @@ public: class RMText : public RMGfxWoodyBuffer { private: static RMFontColor *_fonts[4]; - static RMGfxClearTask _clear; int _maxLineLength; public: -- cgit v1.2.3