Updated scripts to use MyPRCGetRacialType
Updated scripts to use MyPRCGetRacialType. Full compile.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user