Updated scripts to use MyPRCGetRacialType

Updated scripts to use MyPRCGetRacialType.  Full compile.
This commit is contained in:
Jaysyn904
2022-09-28 21:36:29 -04:00
parent 8994c41256
commit 0b86a6485c
81 changed files with 142 additions and 74 deletions

View File

@@ -27,6 +27,7 @@
// All constants.
#include "J_INC_SETWEAPONS"
#include "prc_inc_racial"
// Set weapons
// - Constants file is in this
@@ -654,7 +655,7 @@ void AI_SetTurningLevel()
void AI_SetMaybeFearless()
{
// Cirtain races are immune to fear
switch(GetRacialType(OBJECT_SELF))
switch(MyPRCGetRacialType(OBJECT_SELF))
{
case RACIAL_TYPE_CONSTRUCT:
case RACIAL_TYPE_DRAGON: