Skip to content

Commit

Permalink
Fix disconnect when clicking a horse with new selection disabled.
Browse files Browse the repository at this point in the history
You should not be able to look or attack a horse.  A repeat of the
fix done already for new selection.
  • Loading branch information
pjbroad committed Oct 27, 2024
1 parent 351e4e1 commit a2ba868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion select.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static inline int old_anything_under_the_mouse(int object_id, int object_type)
{
list.clear_actor_under_mouse();
}
object_under_mouse = object_id;
object_under_mouse = (object_id >= HORSE_ID_OFFSET) ?-1 :object_id;

thing_under_the_mouse = object_type;
return 1;//there is something
Expand Down

0 comments on commit a2ba868

Please sign in to comment.