aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobia Tesan2013-07-10 16:37:51 +0200
committerTobia Tesan2013-08-01 00:06:39 +0200
commit9cfea04846b19f17c8c68c9e19a044c1b48c0f7f (patch)
tree0e3669fbaa8c185b11bbef5be7b97b3e70df1b34
parent4405a534e5470cb2f14baad7d76f109f379023cf (diff)
downloadscummvm-rg350-9cfea04846b19f17c8c68c9e19a044c1b48c0f7f.tar.gz
scummvm-rg350-9cfea04846b19f17c8c68c9e19a044c1b48c0f7f.tar.bz2
scummvm-rg350-9cfea04846b19f17c8c68c9e19a044c1b48c0f7f.zip
WINTERMUTE: Formatting
-rw-r--r--engines/wintermute/graphics/transparent_surface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/graphics/transparent_surface.cpp b/engines/wintermute/graphics/transparent_surface.cpp
index e20f97b116..48d550c26f 100644
--- a/engines/wintermute/graphics/transparent_surface.cpp
+++ b/engines/wintermute/graphics/transparent_surface.cpp
@@ -498,8 +498,8 @@ Common::Rect TransparentSurface::blit(Graphics::Surface &target, int posX, int p
TransparentSurface *TransparentSurface::rotoscale(const TransformStruct &transform) const {
- assert (transform._angle != 0); // This would not be ideal
-
+ assert(transform._angle != 0); // This would not be ideal; rotoscale() should never be called in conditional branches where angle = 0 anyway.
+
Point32 newHotspot;
Common::Rect srcRect(0, 0, (int16)w, (int16)h);
Rect32 rect = TransformTools::newRect(Rect32 (srcRect), transform, &newHotspot);