From 026979e39d2eb3a776a16dbc8a0e18c47969b362 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 28 Nov 2011 20:54:53 +0200 Subject: Rename menu background to menubg.png, move unknown_block.png and unknown_object.png to client, make generating a placeholder image for the filename "" not cause an error --- src/main.cpp | 2 +- src/tile.cpp | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 0646494fc..c1b9d902b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1021,7 +1021,7 @@ void drawMenuBackground(video::IVideoDriver* driver) core::dimension2d screensize = driver->getScreenSize(); video::ITexture *bgtexture = - driver->getTexture(getTexturePath("mud.png").c_str()); + driver->getTexture(getTexturePath("menubg.png").c_str()); if(bgtexture) { s32 texturesize = 128; diff --git a/src/tile.cpp b/src/tile.cpp index 206d81289..b6abc5427 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -1088,10 +1088,12 @@ bool generate_image(std::string part_of_name, video::IImage *& baseimg, if(image == NULL) { - errorstream<<"generate_image(): Could not load image \"" - < dim(2,2); -- cgit v1.2.3