diff --git a/pcode.c b/pcode.c index 8ef0f73..34d8f59 100644 --- a/pcode.c +++ b/pcode.c @@ -454,6 +454,7 @@ static char *PCDNames[PCODE_COMMAND_COUNT] = "PCD_SETMUGSHOTSTATE", "PCD_THINGCOUNTSECTOR", "PCD_THINGCOUNTNAMESECTOR", + "PCD_CHECKPLAYERCAMERA", }; // CODE -------------------------------------------------------------------- diff --git a/pcode.h b/pcode.h index b0455e7..db73918 100644 --- a/pcode.h +++ b/pcode.h @@ -405,6 +405,7 @@ typedef enum PCD_SETMUGSHOTSTATE, PCD_THINGCOUNTSECTOR, PCD_THINGCOUNTNAMESECTOR, + PCD_CHECKPLAYERCAMERA, PCODE_COMMAND_COUNT } pcd_t; diff --git a/symbol.c b/symbol.c index ee53db7..8462777 100644 --- a/symbol.c +++ b/symbol.c @@ -189,6 +189,7 @@ static internFuncDef_t InternalFunctions[] = { "setmugshotstate", PCD_NOP, PCD_SETMUGSHOTSTATE, 1, 0, 0, NO, NO }, { "thingcountsector", PCD_NOP, PCD_THINGCOUNTSECTOR, 3, 0, 0, YES, NO }, { "thingcountnamesector", PCD_NOP, PCD_THINGCOUNTNAMESECTOR, 3, 0, 0, YES, NO }, + { "checkplayercamera", PCD_NOP, PCD_CHECKPLAYERCAMERA, 1, 0, 0, YES, NO }, { NULL, PCD_NOP, PCD_NOP, 0, 0, 0, NO, NO } };