mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Punchwear (improved) (#8959)
This commit is contained in:
parent
fec30e37ac
commit
70f9e1aafa
10 changed files with 73 additions and 31 deletions
|
@ -624,7 +624,7 @@ void LuaEntitySAO::getStaticData(std::string *result) const
|
|||
*result = os.str();
|
||||
}
|
||||
|
||||
int LuaEntitySAO::punch(v3f dir,
|
||||
u16 LuaEntitySAO::punch(v3f dir,
|
||||
const ToolCapabilities *toolcap,
|
||||
ServerActiveObject *puncher,
|
||||
float time_from_last_punch)
|
||||
|
@ -1273,7 +1273,7 @@ void PlayerSAO::setLookPitchAndSend(const float pitch)
|
|||
m_env->getGameDef()->SendMovePlayer(m_peer_id);
|
||||
}
|
||||
|
||||
int PlayerSAO::punch(v3f dir,
|
||||
u16 PlayerSAO::punch(v3f dir,
|
||||
const ToolCapabilities *toolcap,
|
||||
ServerActiveObject *puncher,
|
||||
float time_from_last_punch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue