mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
added credit check to MERC purchases
fixed appearance of enemy MERC NPC's to show stats when targeted fixed realtime added check to only allow AI during game mode coop git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2167 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -471,13 +471,17 @@ void start_server (void)
|
||||
|
||||
gsMAX_MERCS=atoi(max_merc);
|
||||
gsTESTING = atoi(test);
|
||||
////
|
||||
|
||||
gsPLAYER_BSIDE = atoi(player_bside);
|
||||
|
||||
if(gsPLAYER_BSIDE==2)//only enable ai during coop
|
||||
{
|
||||
ENEMY_ENABLED =atoi(bteam1_enabled);
|
||||
CREATURE_ENABLED =atoi(bteam2_enabled);
|
||||
MILITIA_ENABLED =atoi(bteam3_enabled);
|
||||
CIV_ENABLED =atoi(bteam4_enabled);
|
||||
|
||||
gsPLAYER_BSIDE = atoi(player_bside);
|
||||
}
|
||||
|
||||
gsSAME_MERC = atoi(hire_same_merc);
|
||||
gsDAMAGE_MULTIPLIER =(FLOAT)atof(net_div);
|
||||
|
||||
Reference in New Issue
Block a user