diff options
author | MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com> | 2012-11-09 16:45:29 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-11-25 19:14:24 +0200 |
commit | 4d656963e42766a7c0250b1e0931638933f1b917 (patch) | |
tree | 7f028579a6f51f9766fdf3d1924b7c5ee5bc1eba /src/nodedef.cpp | |
parent | 9259d028ac99fc699df69ded128df60dece712b9 (diff) | |
download | minetest-4d656963e42766a7c0250b1e0931638933f1b917.tar.gz minetest-4d656963e42766a7c0250b1e0931638933f1b917.tar.bz2 minetest-4d656963e42766a7c0250b1e0931638933f1b917.zip |
Fix more things I forgot for attached players. Such players will now properly see themselves moving when attached, and the server will read their position accordingly
Fix attached players being able to bob their view and generate foostep sounds by pressing a movement key (running in place)
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r-- | src/nodedef.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp index 53deea11b..180219ba8 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -254,7 +254,6 @@ void ContentFeatures::serialize(std::ostream &os) os<<serializeString(liquid_alternative_flowing); os<<serializeString(liquid_alternative_source); writeU8(os, liquid_viscosity); - writeU8(os, liquid_renewable); writeU8(os, light_source); writeU32(os, damage_per_second); node_box.serialize(os); @@ -312,7 +311,6 @@ void ContentFeatures::deSerialize(std::istream &is) liquid_alternative_flowing = deSerializeString(is); liquid_alternative_source = deSerializeString(is); liquid_viscosity = readU8(is); - liquid_renewable = readU8(is); light_source = readU8(is); damage_per_second = readU32(is); node_box.deSerialize(is); |