mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Oh hey I fucked something up... again... :D
git-svn-id: https://svn.eduke32.com/eduke32@6821 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d20df1ec9a
commit
4dabba7bb6
1 changed files with 2 additions and 3 deletions
|
@ -1610,7 +1610,7 @@ int A_ShootWithZvel(int const spriteNum, int const projecTile, int const forceZv
|
|||
}
|
||||
|
||||
#ifdef EDUKE32_STANDALONE
|
||||
return A_ShootCustom(spriteNum, projecTile, shootAng, &startPos);
|
||||
return A_CheckSpriteTileFlags(projecTile, SFLAG_PROJECTILE) ? A_ShootCustom(spriteNum, projecTile, shootAng, &startPos) : -1;
|
||||
#else
|
||||
return A_CheckSpriteTileFlags(projecTile, SFLAG_PROJECTILE)
|
||||
? A_ShootCustom(spriteNum, projecTile, shootAng, &startPos)
|
||||
|
@ -2115,8 +2115,7 @@ void P_DisplayWeapon(void)
|
|||
weaponX -= 58 + pPlayer->weapon_ang;
|
||||
weaponYOffset -= (pPlayer->hard_landing << 3);
|
||||
|
||||
currentWeapon = PWEAPON(screenpeek, (pPlayer->last_weapon >= 0) ? pPlayer->last_weapon
|
||||
: pPlayer->curr_weapon, WorksLike);
|
||||
currentWeapon = PWEAPON(screenpeek, (pPlayer->last_weapon >= 0) ? pPlayer->last_weapon : pPlayer->curr_weapon, WorksLike);
|
||||
hudweap.gunposy = weaponYOffset;
|
||||
hudweap.lookhoriz = weaponY;
|
||||
hudweap.cur = currentWeapon;
|
||||
|
|
Loading…
Reference in a new issue