diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-09 19:41:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-09 19:41:31 +0300 |
commit | 97943710d847ddb2b52099330f1961bda127e37b (patch) | |
tree | ab2522aab524c3393a6dd4f1d51811d3eac9984e /src/being/flooritem.cpp | |
parent | 22d0a32e03656262a7a5cccb3769aed59bfe0a5b (diff) | |
download | plus-97943710d847ddb2b52099330f1961bda127e37b.tar.gz plus-97943710d847ddb2b52099330f1961bda127e37b.tar.bz2 plus-97943710d847ddb2b52099330f1961bda127e37b.tar.xz plus-97943710d847ddb2b52099330f1961bda127e37b.zip |
Fix code style.
Diffstat (limited to 'src/being/flooritem.cpp')
-rw-r--r-- | src/being/flooritem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/flooritem.cpp b/src/being/flooritem.cpp index 83857d043..586fb044a 100644 --- a/src/being/flooritem.cpp +++ b/src/being/flooritem.cpp @@ -178,14 +178,14 @@ void FloorItem::draw(Graphics *const graphics, && curTime < mDropTime + 28) { graphics->setColor(Color(200, 80, 20, - 80 + 10 * (curTime - mDropTime - 18))); + 80 + 10 * CAST_S32(curTime - mDropTime - 18))); graphics->fillRectangle(Rect( x, y, dx, dy)); } else if (curTime > mDropTime && curTime < mDropTime + 20) { graphics->setColor(Color(20, 20, 255, - 7 * (curTime - mDropTime))); + 7 * CAST_S32(curTime - mDropTime))); graphics->fillRectangle(Rect(x, y, dx, dy)); } } |