Core/Spells: Fix logic in 20eeeaf
Core/Commands: Add mmaps check for command .gps
Core/Commands: Add unit flags 2 for .npc info
Core/Commands: Optimize for command .npc near
Revert "Core/Commands: Optimize for command .npc near"

This reverts commit 4e789d4.
Core/Vehicles: Fixed a possible crash if vehicle is deleted before it…

…s passenger runs Abort on pending join event

Closes #9392