Skip to content

Commit 5a59ad2

Browse files
committedMar 24, 2017
Tile.cpp: Fix MSVC build broken by 072bbba
1 parent 329d654 commit 5a59ad2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/client/tile.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2266,7 +2266,7 @@ video::ITexture* TextureSource::getNormalTexture(const std::string &name)
22662266
return getTexture("override_normal.png");
22672267
std::string fname_base = name;
22682268
static const char *normal_ext = "_normal.png";
2269-
static const uint32_t normal_ext_size = strlen(normal_ext);
2269+
static const u32 normal_ext_size = strlen(normal_ext);
22702270
size_t pos = fname_base.find(".");
22712271
std::string fname_normal = fname_base.substr(0, pos) + normal_ext;
22722272
if (isKnownSourceImage(fname_normal)) {
@@ -2277,7 +2277,7 @@ video::ITexture* TextureSource::getNormalTexture(const std::string &name)
22772277
i += normal_ext_size;
22782278
}
22792279
return getTexture(fname_base);
2280-
}
2280+
}
22812281
return NULL;
22822282
}
22832283

0 commit comments

Comments
 (0)
Please sign in to comment.