mousequery: Fix parameters to getDepthAt()

develop
lethosor 2017-06-02 15:39:23 -04:00
parent 62c9f2695a
commit 5278856b37
1 changed files with 1 additions and 1 deletions

@ -65,7 +65,7 @@ static df::coord get_mouse_pos(int32_t &mx, int32_t &my)
pos.x = vx + mx - 1; pos.x = vx + mx - 1;
pos.y = vy + my - 1; pos.y = vy + my - 1;
pos.z = vz - Gui::getDepthAt(pos.x, pos.y); pos.z = vz - Gui::getDepthAt(mx, my);
return pos; return pos;
} }