diff --git a/LUASTUFF.md b/LUASTUFF.md index 881cbe4f7..8960fad48 100644 --- a/LUASTUFF.md +++ b/LUASTUFF.md @@ -156,6 +156,11 @@ Add Gamepad Rumble support for things. To be used with Displayplayers. Duration is in milliseconds and is optional to set, default value is 84ms. +## P_CheckSightFast(mo1, mo2) + +Exactly same as P_CheckSight but uses cheaper algorithm, useful for things like nametags. Doesn't work exactly +like P_CheckSight so don't use it for anything gameplay-related. + # Other changes ## P_PlayRinglossSound(source, damager) diff --git a/src/k_kart.c b/src/k_kart.c index e9896991e..d064e29c2 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -10427,6 +10427,9 @@ static void K_drawNameTags(void) for (i = 0; i < MAXPLAYERS; i++) { + distance = 0; + flipped = false; + if (i > PLAYERSMASK) continue; if (players[i].spectator || !players[i].ingame || P_MobjWasRemoved(players[i].mo)) diff --git a/src/m_menu.c b/src/m_menu.c index 0d52c5d77..7685698e3 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -2595,7 +2595,7 @@ static menuitem_t OP_SaturnCreditsMenu[] = {IT_STRING2+IT_SPACE, NULL, "EXpand", NULL, 117}, {IT_STRING2+IT_SPACE, NULL, "Nexit", NULL, 127}, {IT_STRING2+IT_SPACE, NULL, "Spee", NULL, 137}, - {IT_STRING2+IT_SPACE, NULL, "Jin", NULL, 147}, + {IT_STRING2+IT_SPACE, NULL, "jin", NULL, 147}, {IT_STRING2+IT_SPACE, NULL, "riomccloud", NULL, 157}, {IT_STRING2+IT_SPACE, NULL, "chromaticpipe", NULL, 167}, {IT_STRING2+IT_SPACE, NULL, "Achii", NULL, 177},