mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 08:22:17 +00:00
[Bug Fix] Fix improper condition in Water LOS checks (#3426)
# Notes - Oversight on my part, should've been `==`, not `&&`.
This commit is contained in:
1 parent
85054fedf8
commit
9312261444
2 files changed
+2
-2
No files matched your search
@@ -2413,7 +2413,7 @@ bool Client::CheckWaterAutoFireLoS(Mob* m)
|
||||
}
|
||||
|
||||
return (
|
||||
zone->watermap->InLiquid(GetPosition()) &&
|
||||
zone->watermap->InLiquid(GetPosition()) ==
|
||||
zone->watermap->InLiquid(m->GetPosition())
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user