mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
Mustang and Sally Muzzle flash addition
Added the corrected positioning for the Mustang and Sally, including a part of code for the left handed muzzleflash
This commit is contained in:
parent
49ce8480f4
commit
fccbf21d2a
1 changed files with 17 additions and 1 deletions
|
@ -4290,7 +4290,7 @@ vector (float wep) GetWeaponFlash_Offset =
|
|||
case W_COLT:
|
||||
return [5488, -2742, 35300];
|
||||
case W_BIATCH:
|
||||
return [8588, -3842, 35300];
|
||||
return [6355, -2984, 36625];
|
||||
case W_KAR:
|
||||
case W_KAR_SCOPE:
|
||||
case W_HEADCRACKER:
|
||||
|
@ -4647,4 +4647,20 @@ float WepDef_GetWeaponCrosshairType(float weapon)
|
|||
default:
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
//
|
||||
// WepDef_GetLeftFlashOffset(weapon)
|
||||
// Returns the offset from client view origin
|
||||
// for a left-handed weapon's muzzleflash.
|
||||
// See GetWeaponFlash_Offset() for data structure.
|
||||
//
|
||||
vector(float weapon) WepDef_GetLeftFlashOffset =
|
||||
{
|
||||
switch(weapon) {
|
||||
case W_BIATCH:
|
||||
return [-8639, -3621, 39337];
|
||||
default:
|
||||
return [0, 0, 0];
|
||||
}
|
||||
return [0, 0, 0];
|
||||
}
|
Loading…
Reference in a new issue