diff options
Diffstat (limited to '')
-rw-r--r-- | src/nodedef.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nodedef.h b/src/nodedef.h index b78b09d4c..b7cca52d0 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -245,11 +245,11 @@ struct ContentFeatures void setTexture(u16 i, std::string name); - void setAllTextures(std::string name, u8 alpha=255) + void setAllTextures(std::string name, u8 alpha_=255) { for(u16 i=0; i<6; i++) setTexture(i, name); - alpha = alpha; + alpha = alpha_; // Force inventory texture too setInventoryTexture(name); } |