mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
[Bug Fix] Reversed logic on InLiquid (#3979)
Thank you @noudness for catching this. Reversed logic on InLiquid check for falling damage.
This commit is contained in:
parent
906879ce2e
commit
135ee6b2b7
@ -6256,7 +6256,7 @@ void Client::Handle_OP_EnvDamage(const EQApplicationPacket *app)
|
||||
if (ed->dmgtype == EQ::constants::EnvironmentalDamage::Falling) {
|
||||
if (zone->HasWaterMap()) {
|
||||
auto target_position = glm::vec3(GetX(), GetY(), GetZ());
|
||||
if (!zone->watermap->InLiquid(target_position)) {
|
||||
if (zone->watermap->InLiquid(target_position)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user