mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Fix typo on database call in #object.
Fix issue with fishing.. Search needs to search from my z for full line length not for only the diff between my feet and the possible water location.
This commit is contained in:
+1
-1
@@ -196,7 +196,7 @@ bool Client::CanFish() {
|
||||
|
||||
float step_size = RuleR(Watermap, FishingLineStepSize);
|
||||
|
||||
for(float i = 0.0f; i < len; i += step_size) {
|
||||
for(float i = 0.0f; i < LineLength; i += step_size) {
|
||||
glm::vec3 dest(rodPosition.x, rodPosition.y, m_Position.z - i);
|
||||
|
||||
bool in_lava = zone->watermap->InLava(dest);
|
||||
|
||||
Reference in New Issue
Block a user