kill log ignores calls with clonk==nil

David Dormagen 2010-12-06 19:32:19 +01:00
parent a33500a3c2
commit a3d27b9911
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ func OnClonkDeath(object clonk, int killed_by)
{
var plr=clonk->GetOwner();
if(plr == NO_OWNER) return;
if(!clonk) return;
// assert there are three StringTbl entries for each
var which_one=Random(3)+1;