Because I could not continue with successfully any tutorial, I stated investigating UT scripts. When I reached function Killed, I saw this:
I commented V = UTVehic... with redundant line because I think it does nothing. Am I wrong?
Shouldn't it be removed in next release?
You can find that line at 641 at UTGame.uc.
Code:
if ( bEnemyKill ) { V = UTVehicle(KilledPawn); // <--- redundant line??? if ( !bFirstBlood ) { bFirstBlood = True; BroadcastLocalizedMessage( class'UTFirstBloodMessage', 0, KillerPRI ); KillerPRI.IncrementEventStat('EVENT_FIRSTBLOOD'); } }
Shouldn't it be removed in next release?
You can find that line at 641 at UTGame.uc.
Comment