Commit b9447645 authored by DailyShana's avatar DailyShana

fix

parent ed757ec5
......@@ -105,7 +105,7 @@ irr::video::ITexture* ImageManager::GetTextureField(int code) {
irr::video::ITexture* img = driver->getTexture(file);
if(img == NULL) {
sprintf(file, "pics/field/%d.jpg", code);
irr::video::ITexture* img = driver->getTexture(file);
img = driver->getTexture(file);
if(img == NULL) {
tFields[code] = NULL;
return NULL;
......
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