otland / forgottenserver

A free and open-source MMORPG server emulator written in C++
https://otland.net
GNU General Public License v2.0
1.55k stars 1.04k forks source link

[Revscriptsys] fix crash introduced in #4742 #4750

Closed EvilHero90 closed 4 weeks ago

EvilHero90 commented 4 weeks ago

Pull Request Prelude

Changes Proposed

There was a missing check to see if the pointer had a valid map before trying to access it, that's why there was an out of range violation which crashed the server when trying to set aid/uid/pos to either Actions or MoveEvents

Issues addressed: fixes #4748