Compare commits

..

2 Commits

Author SHA1 Message Date
Akkadius 5249b065d3 [Release] 22.15.3 2023-06-19 19:15:42 -05:00
Alex King 9312261444 [Bug Fix] Fix improper condition in Water LOS checks (#3426)
# Notes
- Oversight on my part, should've been `==`, not `&&`.
2023-06-19 18:53:19 -04:00
5 changed files with 10 additions and 4 deletions
+6
View File
@@ -1,3 +1,9 @@
## [22.15.3] - 06/19/2023
### Fixes
* Fix improper condition in Water LOS checks ([#3426](https://github.com/EQEmu/Server/pull/3426)) @Kinglykrab 2023-06-19
## [22.15.2] - 06/19/2023 ## [22.15.2] - 06/19/2023
### Database ### Database
+1 -1
View File
@@ -25,7 +25,7 @@
// Build variables // Build variables
// these get injected during the build pipeline // these get injected during the build pipeline
#define CURRENT_VERSION "22.15.2-dev" // always append -dev to the current version for custom-builds #define CURRENT_VERSION "22.15.3-dev" // always append -dev to the current version for custom-builds
#define LOGIN_VERSION "0.8.0" #define LOGIN_VERSION "0.8.0"
#define COMPILE_DATE __DATE__ #define COMPILE_DATE __DATE__
#define COMPILE_TIME __TIME__ #define COMPILE_TIME __TIME__
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "eqemu-server", "name": "eqemu-server",
"version": "22.15.2", "version": "22.15.3",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/EQEmu/Server.git" "url": "https://github.com/EQEmu/Server.git"
+1 -1
View File
@@ -2413,7 +2413,7 @@ bool Client::CheckWaterAutoFireLoS(Mob* m)
} }
return ( return (
zone->watermap->InLiquid(GetPosition()) && zone->watermap->InLiquid(GetPosition()) ==
zone->watermap->InLiquid(m->GetPosition()) zone->watermap->InLiquid(m->GetPosition())
); );
} }
+1 -1
View File
@@ -7111,7 +7111,7 @@ bool Mob::CheckWaterLoS(Mob* m)
} }
return ( return (
zone->watermap->InLiquid(GetPosition()) && zone->watermap->InLiquid(GetPosition()) ==
zone->watermap->InLiquid(m->GetPosition()) zone->watermap->InLiquid(m->GetPosition())
); );
} }