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:
Wanne
2020-07-09 09:32:49 +00:00
parent 9bc4b2bfb6
commit 1e66fe2ba7
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -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;
+4
View File
@@ -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;