mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
There are now separate functions for armed vehicles.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8126 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -6,12 +6,14 @@
|
||||
#include "../include/LegacyAIPlan.h"
|
||||
#include "../include/LegacyCreaturePlan.h"
|
||||
#include "../include/LegacyZombiePlan.h"
|
||||
#include "../include/LegacyArmedVehiclePlan.h"
|
||||
#include "../include/CrowPlan.h"
|
||||
#include "../include/PlanList.h"
|
||||
|
||||
#include "../../TacticalAI/AIInternals.h" // DEBUGAIMSG
|
||||
#include "../../Tactical/Soldier Control.h" // For SOLDIERTYPE definition
|
||||
#include "../../Tactical/Animation Data.h" // For the definition of, wait for it... BLOODCAT!
|
||||
#include "soldier macros.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -35,6 +37,9 @@ namespace AI
|
||||
return find_supper;
|
||||
}
|
||||
|
||||
if ( ARMED_VEHICLE( npc ) )
|
||||
return new LegacyArmedVehiclePlan( npc );
|
||||
|
||||
if(npc->IsZombie())
|
||||
return new LegacyZombiePlan(npc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user