los:: fixed not recognizing los as separate mode in some cases

This commit is contained in:
Zeno Rogue
2026-08-02 09:14:28 +02:00
parent 26778a8db8
commit 09e15bcc12
+1
View File
@@ -213,6 +213,7 @@ EX modecode_t legacy_modecode() {
if(casual) return UNKNOWN;
if(bow::weapon) return UNKNOWN;
if(use_custom_land_list) return UNKNOWN;
if(lineofsight != los::none || lineofsightAt >= PURELOS_LEVEL) return UNKNOWN;
bool is_default_land_structure = land_structure == get_default_land_structure();