mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Make sure color returns to normal after a damage flash (#7332)
This commit is contained in:
@@ -990,7 +990,7 @@ void GenericCAO::updateTexturePos()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GenericCAO::updateTextures(const std::string &mod)
|
void GenericCAO::updateTextures(std::string mod)
|
||||||
{
|
{
|
||||||
ITextureSource *tsrc = m_client->tsrc();
|
ITextureSource *tsrc = m_client->tsrc();
|
||||||
|
|
||||||
|
@@ -198,8 +198,8 @@ public:
|
|||||||
void updateTexturePos();
|
void updateTexturePos();
|
||||||
|
|
||||||
// std::string copy is mandatory as mod can be a class member and there is a swap
|
// std::string copy is mandatory as mod can be a class member and there is a swap
|
||||||
// on those class members
|
// on those class members... do NOT pass by reference
|
||||||
void updateTextures(const std::string &mod);
|
void updateTextures(std::string mod);
|
||||||
|
|
||||||
void updateAnimation();
|
void updateAnimation();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user