Tell on_punch to expect a return value
authorDuane Robertson <duane@duanerobertson.com>
Tue, 31 Jan 2017 04:37:04 +0000 (22:37 -0600)
committersapier <sapier at gmx dot net>
Wed, 1 Feb 2017 21:13:49 +0000 (22:13 +0100)
commit3b9ae409c7d7e9445099b86c85392dba4771e08a
tree7afbe80111243a30ac1b4584e3df47ec1338e929
parent326cc5df741120dcfdfef21a7acaef5322601764
Tell on_punch to expect a return value

The return value should be interpreted as a boolean saying whether
the lua on_punch function handled damage or the system needs to.
src/script/cpp_api/s_entity.cpp