From 9fc78cbece4d26307dab814d8073fc0a1db90bf9 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 15 Nov 2011 22:21:12 +0200 Subject: Fix flowing water being always opaque --- src/nodedef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nodedef.h') 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); } -- cgit v1.2.3