Enemy Territory

Project: Bug Fix

The objective

The goal of this project is to provide modders in the ET community with a SDK code base that contains fixes for various bugs which are present in the stock etmain game (version 2.60).

26th september 2006: Sadly bugfix 088 had a bug :-( There were 3 lines that should have been deleted for the fix to work correctly.

Show index
Previous bug: Command map icons not showing on the correct level
Next bug: Akimbo weapons didn't use the spread reduction you get at level 3 light weapons

Bugfix 044 - Akimbo weapons can now lose XP on teamkills

Problem:

Teamkilling with akimbo weapons doesn't mean that you lose XP when a complaint is filed.

Solution:

Add the akimbo weapons to the list of weapons that you can loose XP with.

References:

Spawning thread

Notes:

The bug was fixed in version 2.60

2.56 Code

g_stats.c @ 284 case MOD_GRENADE_LAUNCHER: case MOD_GRENADE_PINEAPPLE:
case MOD_AKIMBO_COLT: // CHRUKER: b044 - Teamkilling with akimbo guns can also loose skillpoints case MOD_AKIMBO_LUGER: // CHRUKER: b044 - Teamkilling with akimbo guns can also loose skillpoints case MOD_AKIMBO_SILENCEDCOLT: // CHRUKER: b044 - Teamkilling with akimbo guns can also loose skillpoints case MOD_AKIMBO_SILENCEDLUGER: // CHRUKER: b044 - Teamkilling with akimbo guns can also loose skillpoints
G_LoseSkillPoints( tker, SK_LIGHT_WEAPONS, 3.f ); // G_DebugAddSkillPoints( attacker, SK_LIGHT_WEAPONS, 2.f, "kill" );

Show index
Previous bug: Command map icons not showing on the correct level
Next bug: Akimbo weapons didn't use the spread reduction you get at level 3 light weapons

Color coding

Sample = New code
Sample = Changed code (the new version is what is displayed)
Sample = Deleted code

©2017 Chruker