mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 17:35:37 +02:00
Display which tool the player is holding
And some simple animation when trying to dig...
This commit is contained in:
@@ -356,6 +356,8 @@ public:
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void wieldItem(u16 item);
|
||||
|
||||
void move(f32 dtime, Map &map, f32 pos_max_d,
|
||||
core::list<CollisionInfo> *collision_info);
|
||||
@@ -365,6 +367,8 @@ public:
|
||||
|
||||
PlayerControl control;
|
||||
|
||||
scene::ISceneNode *wield;
|
||||
|
||||
private:
|
||||
// This is used for determining the sneaking range
|
||||
v3s16 m_sneak_node;
|
||||
|
Reference in New Issue
Block a user