mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
*disable tank spawning, and fix bug causing lack of AI to spawn in maps with snipers or tanks.
*small change associated with hidden interrupts now occuring and not necessarily only being between AI to hopefully stop crashes. (thanks for the call stack!) *added no gear option 4 MERC *disable explosions git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2202 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
#endif
|
||||
|
||||
#include "Soldier Macros.h"
|
||||
|
||||
#include "connect.h"
|
||||
//forward declarations of common classes to eliminate includes
|
||||
class OBJECTTYPE;
|
||||
class SOLDIERTYPE;
|
||||
@@ -2280,7 +2280,11 @@ void SpreadEffect( INT16 sGridNo, UINT8 ubRadius, UINT16 usItem, UINT8 ubOwner,
|
||||
fSmokeEffect = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
if(is_networked)
|
||||
{
|
||||
ScreenMsg( FONT_LTBLUE, MSG_CHAT, L"explosives not coded in MP");
|
||||
return;
|
||||
}
|
||||
// Set values for recompile region to optimize area we need to recompile for MPs
|
||||
gsRecompileAreaTop = sGridNo / WORLD_COLS;
|
||||
gsRecompileAreaLeft = sGridNo % WORLD_COLS;
|
||||
|
||||
Reference in New Issue
Block a user