From 71c06273c09413822c57980ab38c91f21073c97f Mon Sep 17 00:00:00 2001 From: Bodmer Date: Thu, 12 Apr 2018 02:27:22 +0100 Subject: [PATCH] Revert "Update Sprite.cpp" --- Extensions/Sprite.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Extensions/Sprite.cpp b/Extensions/Sprite.cpp index 290a0d8..0ebca60 100644 --- a/Extensions/Sprite.cpp +++ b/Extensions/Sprite.cpp @@ -49,8 +49,8 @@ void* TFT_eSprite::createSprite(int16_t w, int16_t h, uint8_t frames) if ( w < 1 || h < 1 ) return NULL; - this->_width = _iwidth = _dwidth = w; - this->_height = _iheight = _dheight = h; + _iwidth = _dwidth = w; + _iheight = _dheight = h; this->cursor_x = 0; this->cursor_y = 0;