Fix test for capability engineer in lnd_hit_mine()
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 7 Apr 2010 21:35:25 +0000 (23:35 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 7 Apr 2010 21:35:25 +0000 (23:35 +0200)
commit7506039f1b31eeaddab436831d23fb50c2f9409b
tree832ddfbaec335db9856ae7d2e3f6bbeafb3cc358
parent72b31dae13435f1f17a9c072200c6cf0436b0eeb
Fix test for capability engineer in lnd_hit_mine()

Bogus array index, unpredictable result, can crash the server.  Broken
in commit ef7ea893, v4.3.24.
src/lib/subs/lndsub.c