Commit a91b49c0 authored by nanahira's avatar nanahira

fixbg

parent 58ebabff
......@@ -6,6 +6,10 @@ namespace ygo {
ImageManager imageManager;
bool ImageManager::Initial() {
#ifdef _WIN32
RefreshRandomImageList();
#endif
#ifdef _WIN32
tCover[0] = GetRandomImage(TEXTURE_COVER_S);
if(!tCover[0])
......@@ -60,7 +64,7 @@ bool ImageManager::Initial() {
tBackGround_menu = GetRandomImage(TEXTURE_DUEL);
if(!tBackGround_menu)
tBackGround_menu = tBackGround;
tBackGround_menu = GetRandomImage(TEXTURE_DECK);
tBackGround_deck = GetRandomImage(TEXTURE_DECK);
if(!tBackGround_deck)
tBackGround_deck = driver->getTexture("textures/bg_deck.jpg");
if(!tBackGround_deck)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment