mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Multiplayer:
- Disabled fragments, because this can crash the game when stepping on a mine, ... - Enabled rooftop climbing git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8854 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -9679,11 +9679,13 @@ void SOLDIERTYPE::BeginSoldierClimbUpRoof( void )
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
if ( is_client )
|
||||
{
|
||||
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, MPClientMessage[43] );
|
||||
return;//hayden disable climbing roof
|
||||
}
|
||||
*/
|
||||
|
||||
INT8 bNewDirection;
|
||||
UINT8 ubWhoIsThere;
|
||||
|
||||
@@ -5278,6 +5278,10 @@ UINT8 DetermineFlashbangEffect( SOLDIERTYPE *pSoldier, INT8 ubExplosionDir, BOOL
|
||||
// fired at completely random trajectories.
|
||||
void FireFragments( UINT8 ubOwner, INT16 sX, INT16 sY, INT16 sZ, UINT16 usItem, UINT8 ubDirection )
|
||||
{
|
||||
// WANNE: Disable Fragments in a multiplayer game, because this can lead to crashes when stepping on mines, ...
|
||||
if (is_networked)
|
||||
return;
|
||||
|
||||
UINT16 usNumFragments = Explosive[Item[usItem].ubClassIndex].usNumFragments;
|
||||
UINT16 ubFragRange = Explosive[Item[usItem].ubClassIndex].ubFragRange;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user