diff --git a/desktop_version/src/Tower.cpp b/desktop_version/src/Tower.cpp index ee6003a0..e29fd60a 100644 --- a/desktop_version/src/Tower.cpp +++ b/desktop_version/src/Tower.cpp @@ -197,11 +197,9 @@ void towerclass::loadminitower1() 12,12,12,12,12,12,12,12,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,12,12,12,12,12, 12,12,12,12,12,12,12,12,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,12,12,12,12,12, }; -#else - static const short tmap[100*40] = {0}; -#endif SDL_memcpy(minitower, tmap, sizeof(minitower)); +#endif } void towerclass::loadminitower2() @@ -309,11 +307,9 @@ void towerclass::loadminitower2() 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,28,28,0,0,0,0,0,0,0,0,0,20,12,12,12,12,12, 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,28,28,0,0,0,0,0,0,0,0,0,20,12,12,12,12,12, }; -#else - static const short tmap[100*40] = {0}; -#endif SDL_memcpy(minitower, tmap, sizeof(minitower)); +#endif } @@ -1151,9 +1147,7 @@ void towerclass::loadmap() 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12, 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12, }; -#else - static const short tmap[700*40] = {0}; -#endif SDL_memcpy(contents, tmap, sizeof(contents)); +#endif }