pioneerspacesim/pioneer — Issue #678: player kills count should be set from lua
Author: richardpl
Created: 2011-10-18 14:12:04+00:00
State: open

Currently we have this in Ship.cpp:
// XXX remove this call. kill stuff (including elite rating) should be in a script
static_cast(attacker)->OnHaveKilled(this);

It cause same strange things, for example if player crash into lrc it will get message that it killed some poor guy but actually lrc is almost intact and player is one who is actually dead.