mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47: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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if ( is_client )
|
if ( is_client )
|
||||||
{
|
{
|
||||||
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, MPClientMessage[43] );
|
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, MPClientMessage[43] );
|
||||||
return;//hayden disable climbing roof
|
return;//hayden disable climbing roof
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
INT8 bNewDirection;
|
INT8 bNewDirection;
|
||||||
UINT8 ubWhoIsThere;
|
UINT8 ubWhoIsThere;
|
||||||
|
|||||||
@@ -5278,6 +5278,10 @@ UINT8 DetermineFlashbangEffect( SOLDIERTYPE *pSoldier, INT8 ubExplosionDir, BOOL
|
|||||||
// fired at completely random trajectories.
|
// fired at completely random trajectories.
|
||||||
void FireFragments( UINT8 ubOwner, INT16 sX, INT16 sY, INT16 sZ, UINT16 usItem, UINT8 ubDirection )
|
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 usNumFragments = Explosive[Item[usItem].ubClassIndex].usNumFragments;
|
||||||
UINT16 ubFragRange = Explosive[Item[usItem].ubClassIndex].ubFragRange;
|
UINT16 ubFragRange = Explosive[Item[usItem].ubClassIndex].ubFragRange;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user