mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-10 10:47:58 -05:00
Minor fixes for already checked scripts.
This commit is contained in:
@ -1228,7 +1228,7 @@ hastacticalmask( player ) //checked changed at own discretion
|
||||
|
||||
isprimarydamage( meansofdeath ) //checked changed at own discretion
|
||||
{
|
||||
if ( meansofdeath != "MOD_RIFLE_BULLET" || meansofdeath == "MOD_PISTOL_BULLET" )
|
||||
if ( meansofdeath == "MOD_RIFLE_BULLET" || meansofdeath == "MOD_PISTOL_BULLET" )
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
@ -1281,7 +1281,7 @@ isplayerexplosiveweapon( weapon, meansofdeath ) //checked matches cerberus outpu
|
||||
|
||||
isheaddamage( hitloc ) //checked changed at own discretion
|
||||
{
|
||||
if ( hitloc == "helmet" && hitloc == "head" || hitloc == "neck" )
|
||||
if ( hitloc == "helmet" || hitloc == "head" || hitloc == "neck" )
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
@ -524,7 +524,6 @@ updatecarryobjectorigin() //checked changed to match beta dump
|
||||
foreach ( team in level.teams )
|
||||
{
|
||||
self.objpoints[ team ] maps/mp/gametypes/_objpoints::updateorigin( self.curorigin + self.offset3d );
|
||||
_k656 = getNextArrayKey( _a656, _k656 );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -1974,7 +1974,7 @@ callback_playerkilled( einflictor, attacker, idamage, smeansofdeath, sweapon, vd
|
||||
pixendevent();
|
||||
}
|
||||
}
|
||||
else if ( isDefined( attacker ) && attacker.classname == "trigger_hurt" || attacker.classname == "worldspawn" )
|
||||
else if ( isDefined( attacker ) && attacker.classname == "trigger_hurt" || isDefined( attacker ) && attacker.classname == "worldspawn" )
|
||||
{
|
||||
dokillcam = 0;
|
||||
lpattacknum = -1;
|
||||
|
Reference in New Issue
Block a user