From 9b91d6f3d0187e0daf29a262cf19ad08ba2b7cf5 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 26 Sep 2014 03:08:15 +0200 Subject: Add support for rotated sprites --- src/view/MapView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/view/MapView.cpp') diff --git a/src/view/MapView.cpp b/src/view/MapView.cpp index d8a69d5..c1c0639 100644 --- a/src/view/MapView.cpp +++ b/src/view/MapView.cpp @@ -59,7 +59,7 @@ MapView::MapView(const std::shared_ptr &window0, const std::vectorget("tile", tileset[i]); + SDL_Surface *sprite = spriteCache->get("tile", tileset[i], 0); SDL_SetSurfaceBlendMode(sprite, SDL_BLENDMODE_NONE); SDL_BlitSurface(sprite, nullptr, surface, &rect); -- cgit v1.2.3