Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hu1night committed Jul 21, 2024
1 parent 522facc commit 951b89e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/game/server/entities/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ void CCharacter::Snap(int SnappingClient, int OtherMode)
CWeapon *pWeapon = CurrentWeapon();
if(pWeapon)
{
// snap weapons
// snap weapon
pWeapon->Snap(SnappingClient, OtherMode);

int Type = pWeapon->GetType();
Expand Down
2 changes: 0 additions & 2 deletions src/game/server/gamemodes/huntern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,6 @@ int CGameControllerHunterN::OnCharacterDeath(class CCharacter *pVictim, class CP

SendChatTarget(VictimCID, aBuf); // 给被弄死的人发
}

new CTextEntity(GameWorld(), pVictim->m_Pos, CTextEntity::TYPE_GUN, 8, CTextEntity::ALIGN_MIDDLE, (char *)" R.I.P.");
}

if(m_NumHunter) // 如果没有猎人(当然是全死光啦) 就不要发猎人列表 等EndMatch
Expand Down

0 comments on commit 951b89e

Please sign in to comment.