1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 01:25:20 +02:00

Make liquid_alternative_* to be strings

This commit is contained in:
Perttu Ahola
2011-11-25 17:00:50 +02:00
parent 18bb0ea1ea
commit e5650bb549
6 changed files with 33 additions and 32 deletions

View File

@@ -193,9 +193,9 @@ struct ContentFeatures
// Whether the node is non-liquid, source liquid or flowing liquid
enum LiquidType liquid_type;
// If the content is liquid, this is the flowing version of the liquid.
content_t liquid_alternative_flowing;
std::string liquid_alternative_flowing;
// If the content is liquid, this is the source version of the liquid.
content_t liquid_alternative_source;
std::string liquid_alternative_source;
// Viscosity for fluid flow, ranging from 1 to 7, with
// 1 giving almost instantaneous propagation and 7 being
// the slowest possible