]> git.lizzy.rs Git - dragonfireclient.git/commit
Fix problems when overriding the hand:
authorEkdohibs <nathanael.courant@laposte.net>
Wed, 22 Mar 2017 02:25:16 +0000 (03:25 +0100)
committerAuke Kok <sofar+github@foo-projects.org>
Fri, 7 Apr 2017 04:27:29 +0000 (21:27 -0700)
commit08b680d58890ce896f5d57404adc84eb7b96fd79
treeaad96d77674cf963e4857d67c671e5169e348020
parentbce0d458d8cda70c10d78ea9ec476474f0a6f01a
Fix problems when overriding the hand:
- If the hand can dig a node the item wielded can't, allow to dig it anyway.
- Fix the API callbacks from setting the hand instead of the wielded item.
src/content_sao.cpp
src/content_sao.h
src/game.cpp
src/network/serverpackethandler.cpp