is it adjacent square?

How that check was done before:
((xdiff * xdiff == 1) != (ydiff * ydiff == 1))

How it should be done:
(xdiff * xdiff + ydiff * ydiff == 1)
Test case: x = -1; y = 4.

was: [(-1 * -1 == 1) != (4 * 4 == 1)] - true but it's not an adjacent square.

It's easy to check the behavior of multi-square stuff using shutter doors in firetruck.
Adjust morale, aggression and anger/fear triggers for various animals
Several changes to shrews.
Change shrew and deer mouse into vermin
Update deer mouse description
Set dog aggression to 2
Fix bobcat triggers
Raise sewer rat aggression
FIXED:  Broken gas tanks can no longer be refilled.
Initialize some submap properties on construction
Wrapped radiation badge now isn't used up on activation, just changed to
an unwrapped radiation badge.
When consuming an item with bionics (internal furnace) that isn't ammo,
assume that the entire item is consumed including all charges.
Instead of pulling base item data, item damage is now show based on any
modifications it has.
Actually pr the commit that fixed stairs.
Adds real_coords.begin_*() helpers for forgetful people like me
Merge remote-tracking branch 'origin/master' into i_accidentally_the_coordinate_spaghetti
blargle map.getlocal(point blargle)
Merge pull request #4075 from atomicdryad/i_accidentally_the_coordinate_spaghetti

Actually pr the commit that fixed stairs.
Merge a pile of small fixes.
Merge tweaks to agression and vermin status.
FIX: DeonTileset - tile_config.json -- screwed up comma and multiple ammo ids as numbers and not strings