diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-11-29 23:51:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-11-29 23:51:21 +0300 |
commit | a80f4ac5c1c3ef4d3ac5f026591b16074d0bf451 (patch) | |
tree | f167b9bf44c84ac4bf054ffcc049a3b5131c58dd /src | |
parent | db0ced5b85e36c762d3d2c3a0d10039587bce1c2 (diff) | |
download | manaverse-a80f4ac5c1c3ef4d3ac5f026591b16074d0bf451.tar.gz manaverse-a80f4ac5c1c3ef4d3ac5f026591b16074d0bf451.tar.bz2 manaverse-a80f4ac5c1c3ef4d3ac5f026591b16074d0bf451.tar.xz manaverse-a80f4ac5c1c3ef4d3ac5f026591b16074d0bf451.zip |
Remove extra return from SDL2 build.
Diffstat (limited to 'src')
-rw-r--r-- | src/resources/map/map.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp index 6a70048e8..8477b026e 100644 --- a/src/resources/map/map.cpp +++ b/src/resources/map/map.cpp @@ -1449,10 +1449,7 @@ void Map::clearIndexedTilesets() restrict2 void Map::reduce() restrict2 { -#ifdef USE_SDL2 - return; -#else // USE_SDL2 - +#ifndef USE_SDL2 if ((mFringeLayer == nullptr) || mOpenGL != RENDER_SOFTWARE || !config.getBoolValue("enableMapReduce")) |