Skip to content

Commit a5c8421

Browse files
committed
Add easter mapres from teeworlds
1 parent 5bda840 commit a5c8421

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,6 +1513,7 @@ set(EXPECTED_DATA
15131513
mapres/desert_mountains_new_background.png
15141514
mapres/desert_mountains_new_foreground.png
15151515
mapres/desert_sun.png
1516+
mapres/easter_0.7.png
15161517
mapres/entities.png
15171518
mapres/fadeout.png
15181519
mapres/font_teeworlds.png

data/mapres/easter_0.7.png

130 KB
Loading

src/game/client/components/mapimages.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ void CMapImages::OnMapLoadImpl(class CLayers *pLayers, IMap *pMap)
140140
!str_comp(pName, "grass_main") ||
141141
!str_comp(pName, "winter_main") ||
142142
!str_comp(pName, "generic_shadows") ||
143-
!str_comp(pName, "generic_unhookable");
143+
!str_comp(pName, "generic_unhookable") ||
144+
!str_comp(pName, "easter");
144145
}
145146
str_format(aPath, sizeof(aPath), "mapres/%s%s.png", pName, Translated ? "_0.7" : "");
146147
m_aTextures[i] = Graphics()->LoadTexture(aPath, IStorage::TYPE_ALL, LoadFlag);

0 commit comments

Comments
 (0)