From b58001f6956c9fb825d5b00b125349b221a71cd8 Mon Sep 17 00:00:00 2001 From: yexo Date: Fri, 10 Jul 2009 22:30:38 +0000 Subject: (svn r16790) -Add [NoAI]: AIVehicle::GetReliability to get the current reliability of vehicles --- src/ai/api/ai_vehicle.hpp.sq | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ai/api/ai_vehicle.hpp.sq') diff --git a/src/ai/api/ai_vehicle.hpp.sq b/src/ai/api/ai_vehicle.hpp.sq index 3f01d25d8..7d56cb7a4 100644 --- a/src/ai/api/ai_vehicle.hpp.sq +++ b/src/ai/api/ai_vehicle.hpp.sq @@ -142,6 +142,7 @@ void SQAIVehicle_Register(Squirrel *engine) { SQAIVehicle.DefSQStaticMethod(engine, &AIVehicle::GetGroupID, "GetGroupID", 2, ".i"); SQAIVehicle.DefSQStaticMethod(engine, &AIVehicle::IsArticulated, "IsArticulated", 2, ".i"); SQAIVehicle.DefSQStaticMethod(engine, &AIVehicle::HasSharedOrders, "HasSharedOrders", 2, ".i"); + SQAIVehicle.DefSQStaticMethod(engine, &AIVehicle::GetReliability, "GetReliability", 2, ".i"); SQAIVehicle.PostRegister(engine); } -- cgit v1.2.3-70-g09d2