diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-06-10 12:46:48 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-06-10 12:46:48 +0300 |
commit | 6a0388bb4bedc1b1c6318d7bfebaf1ec67ccf94e (patch) | |
tree | d5c31cd32d0a1c73d8eaf9065a7b01235b0fff57 /src/itemdef.h | |
parent | 7ba72f27630112286456aa5dd4e1738fde58ae6f (diff) | |
download | minetest-6a0388bb4bedc1b1c6318d7bfebaf1ec67ccf94e.tar.gz minetest-6a0388bb4bedc1b1c6318d7bfebaf1ec67ccf94e.tar.bz2 minetest-6a0388bb4bedc1b1c6318d7bfebaf1ec67ccf94e.zip |
Node placement client-side prediction
Diffstat (limited to 'src/itemdef.h')
-rw-r--r-- | src/itemdef.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/itemdef.h b/src/itemdef.h index 385becd48..ac3a5ab87 100644 --- a/src/itemdef.h +++ b/src/itemdef.h @@ -67,6 +67,11 @@ struct ItemDefinition ToolCapabilities *tool_capabilities; ItemGroupList groups; + // Client shall immediately place this node when player places the item. + // Server will update the precise end result a moment later. + // "" = no prediction + std::string node_placement_prediction; + /* Cached stuff */ |