diff --git a/d3xp/Player.cpp b/d3xp/Player.cpp index 7f3c74a..daaad07 100644 --- a/d3xp/Player.cpp +++ b/d3xp/Player.cpp @@ -8779,8 +8779,8 @@ idPlayer::AddAIKill ============= */ void idPlayer::AddAIKill( void ) { - -#ifndef _D3XP +// koz we want to do this for LM +// #ifndef _D3XP int max_souls; int ammo_souls; @@ -8801,7 +8801,7 @@ void idPlayer::AddAIKill( void ) { StartSound( "snd_soulcube_ready", SND_CHANNEL_ANY, 0, false, NULL ); } } -#endif +// #endif } /* diff --git a/d3xp/ai/AI.cpp b/d3xp/ai/AI.cpp index 887594b..eba7b8b 100644 --- a/d3xp/ai/AI.cpp +++ b/d3xp/ai/AI.cpp @@ -3487,11 +3487,12 @@ void idAI::Killed( idEntity *inflictor, idEntity *attacker, int damage, const id kv = spawnArgs.MatchPrefix( "def_drops", kv ); } -#ifndef _D3XP +//koz do this for LM +//#ifndef _D3XP if ( ( attacker && attacker->IsType( idPlayer::Type ) ) && ( inflictor && !inflictor->IsType( idSoulCubeMissile::Type ) ) ) { static_cast< idPlayer* >( attacker )->AddAIKill(); } -#endif +//#endif #ifdef _D3XP if(spawnArgs.GetBool("harvest_on_death")) {