diff options
author | Matthew Hoops | 2011-12-16 14:17:50 -0500 |
---|---|---|
committer | Matthew Hoops | 2011-12-16 14:17:50 -0500 |
commit | 12efb47b536d2f663c9cde2739a1fd40599da669 (patch) | |
tree | 9ce08d6a798ff5138ee2908642e6468d7d2b249e /engines/pegasus/compass.cpp | |
parent | fdced472abc830c07d28474727db004c8018fcac (diff) | |
download | scummvm-rg350-12efb47b536d2f663c9cde2739a1fd40599da669.tar.gz scummvm-rg350-12efb47b536d2f663c9cde2739a1fd40599da669.tar.bz2 scummvm-rg350-12efb47b536d2f663c9cde2739a1fd40599da669.zip |
PEGASUS: Remove t prefix from typedefs
Some other minor cleanup too
Diffstat (limited to 'engines/pegasus/compass.cpp')
-rwxr-xr-x | engines/pegasus/compass.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/pegasus/compass.cpp b/engines/pegasus/compass.cpp index 2c80c5c41d..6ae4e11a0d 100755 --- a/engines/pegasus/compass.cpp +++ b/engines/pegasus/compass.cpp @@ -70,9 +70,9 @@ void Compass::draw(const Common::Rect &r1) { Common::Rect r2; _compassImage.getSurfaceBounds(r2); - tCoordType width = r2.width(); - tCoordType offsetH = width / 10 - bounds.width() / 2 + (getFaderValue() * width) / 450 - bounds.left; - tCoordType offsetV = -bounds.top; + CoordType width = r2.width(); + CoordType offsetH = width / 10 - bounds.width() / 2 + (getFaderValue() * width) / 450 - bounds.left; + CoordType offsetV = -bounds.top; r2 = r1; r2.translate(offsetH, offsetV); _compassImage.drawImage(r2, r1); |