From bfc34337a30dc519fbfd1b589f165c77d955e5e3 Mon Sep 17 00:00:00 2001 From: Indev Date: Sat, 10 May 2025 16:54:38 +0300 Subject: [PATCH] Add P_CheckSightFast into LUASTUFF.md --- LUASTUFF.md | 5 +++++ 1 file changed, 5 insertions(+) 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)