Disable bunny hood NPC interactions with MM bunny hood on (#2058)

* Disable bunny hood NPC interactions

* Enum
This commit is contained in:
aMannus 2022-12-05 01:03:04 +01:00 committed by GitHub
parent 8d398f7130
commit 5b5310ea92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -66,5 +66,10 @@ u16 sReactionTextIds[][PLAYER_MASK_MAX] = {
u16 Text_GetFaceReaction(PlayState* play, u32 reactionSet) {
u8 currentMask = Player_GetMask(play);
return sReactionTextIds[reactionSet][currentMask];
if (CVar_GetS32("gMMBunnyHood", 0) && currentMask == PLAYER_MASK_BUNNY) {
return 0;
} else {
return sReactionTextIds[reactionSet][currentMask];
}
}