mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
* Fixing upper/lower case for includes types.h, zconf.h and zlib.h were renamed so that global includes like Types.h are not used.
26 lines
495 B
C++
26 lines
495 B
C++
/**
|
|
* @file
|
|
* @author Flugente (bears-pit.com)
|
|
*/
|
|
|
|
#include "../include/LegacyArmedVehiclePlan.h"
|
|
#include "Soldier Control.h" // definition of SOLDIERTYPE
|
|
#include "AIInternals.h"
|
|
|
|
namespace AI
|
|
{
|
|
namespace tactical
|
|
{
|
|
LegacyArmedVehiclePlan::LegacyArmedVehiclePlan( SOLDIERTYPE* npc )
|
|
: Plan( npc )
|
|
{
|
|
}
|
|
|
|
void LegacyArmedVehiclePlan::execute( PlanInputData& environment )
|
|
{
|
|
get_npc( )->aiData.bAction = ArmedVehicleDecideAction( get_npc( ) );
|
|
}
|
|
}
|
|
}
|
|
|