mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- Lua function HandleSectorLiberation(...) is called whenever we liberate a sector
- Lua function RecruitRPCAdditionalHandling(...) is called whenever we recruit a RPC git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7880 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
#include "strategicmap.h" // added by SANDRO
|
||||
#include "drugs and alcohol.h" // added by Flugente
|
||||
#include "Campaign.h"
|
||||
#include "LuaInitNPCs.h" // added by Flugente
|
||||
#endif
|
||||
|
||||
#include "aim.h"
|
||||
@@ -1984,6 +1985,10 @@ BOOLEAN RecruitRPC( UINT8 ubCharNum )
|
||||
//If this is a special NPC, play a quote from the team mates
|
||||
HandlePlayingQuoteWhenHiringNpc( pNewSoldier->ubProfile );
|
||||
#endif
|
||||
|
||||
// Flugente: external scripts might have extra functionality on recruiting someone
|
||||
LuaRecruitRPCAdditionalHandling( ubCharNum );
|
||||
|
||||
return( TRUE );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user