fix: return false in chrHasLosToPosWasteful if outside FOV check

This commit is contained in:
Phnod committed 2023-09-02 02:45:40 -04:00
1 parent 56df5b4054
commit b83604a677
1 file changed
+4
+4
View File
@@ -6579,7 +6579,11 @@ bool chrHasLosToPosWasteful(struct chrdata *chr, struct coord *pos, RoomNum *roo
return chrHasLosToPos(chr, pos, rooms);
}
#ifdef N64_PLATFORM
return chrHasLosToPos(chr, pos, rooms);
#else
return false;
#endif
}
bool chrHasLosToProp(struct chrdata *chr, struct prop *prop)