Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- This prevents things like the following from happening, by warning the user if an incompatible file is loaded: http://hercules.ws/board/topic/5126-mapname-selft-announcer/?p=33068 - We're erroring out instead of ignoring it, as explained in the source comment. - Special thanks to jaBote. Signed-off-by: Haru <haru@dotalux.com>
- Loading branch information
694d32a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh my! thanks for this!
694d32a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw do that covers other files? I got something like this with messages.conf since I changed it when I didn't knew about it, so maybe is good to cover db and conf files too? :D just my 50 cents
694d32a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yes, I agree - it currently only works on scripts, but it should be moved elsewhere (
common/utils.c
) and used in other places as well.