diff --git a/README.md b/README.md index 630857f..451b2b5 100644 --- a/README.md +++ b/README.md @@ -3,5 +3,6 @@ A patched version of ACC for use with ACSUtils Changes compared to vanilla ACC: * Function count limit increased from 256 to 8192. +* IsMultiplayer() function restored. This is not a fork of rheit/acc because that one has an outdated version. diff --git a/pcode.h b/pcode.h index db0c048..f526fa5 100644 --- a/pcode.h +++ b/pcode.h @@ -176,7 +176,7 @@ typedef enum PCD_PLAYERGOLDSKULL, PCD_PLAYERBLACKCARD, PCD_PLAYERSILVERCARD, - PCD_PLAYERONTEAM, + PCD_ISMULTIPLAYER, PCD_PLAYERTEAM, PCD_PLAYERHEALTH, PCD_PLAYERARMORPOINTS, diff --git a/symbol.c b/symbol.c index 56fda76..f171e54 100644 --- a/symbol.c +++ b/symbol.c @@ -90,7 +90,7 @@ static internFuncDef_t InternalFunctions[] = { "playerbluecard", PCD_NOP, PCD_PLAYERBLUECARD, 0, 0, 0, YES, NO }, { "playerredcard", PCD_NOP, PCD_PLAYERREDCARD, 0, 0, 0, YES, NO }, { "playeryellowcard", PCD_NOP, PCD_PLAYERYELLOWCARD, 0, 0, 0, YES, NO }, - { "playeronteam", PCD_NOP, PCD_PLAYERONTEAM, 0, 0, 0, YES, NO }, + { "ismultiplayer", PCD_NOP, PCD_ISMULTIPLAYER, 0, 0, 0, YES, NO }, { "playerteam", PCD_NOP, PCD_PLAYERTEAM, 0, 0, 0, YES, NO }, { "playerfrags", PCD_NOP, PCD_PLAYERFRAGS, 0, 0, 0, YES, NO }, { "playerhealth", PCD_NOP, PCD_PLAYERHEALTH, 0, 0, 0, YES, NO },