We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 329d654 commit 5a59ad2Copy full SHA for 5a59ad2
src/client/tile.cpp
@@ -2266,7 +2266,7 @@ video::ITexture* TextureSource::getNormalTexture(const std::string &name)
2266
return getTexture("override_normal.png");
2267
std::string fname_base = name;
2268
static const char *normal_ext = "_normal.png";
2269
- static const uint32_t normal_ext_size = strlen(normal_ext);
+ static const u32 normal_ext_size = strlen(normal_ext);
2270
size_t pos = fname_base.find(".");
2271
std::string fname_normal = fname_base.substr(0, pos) + normal_ext;
2272
if (isKnownSourceImage(fname_normal)) {
@@ -2277,7 +2277,7 @@ video::ITexture* TextureSource::getNormalTexture(const std::string &name)
2277
i += normal_ext_size;
2278
}
2279
return getTexture(fname_base);
2280
- }
+ }
2281
return NULL;
2282
2283
0 commit comments