namreeb / namigator

An intelligent navigation API for World of Warcraft Alpha, Vanilla, TBC and WotLK
MIT License
49 stars 32 forks source link

Fix utility::exception._result never being set #36

Closed gtker closed 2 years ago

gtker commented 2 years ago

I goofed up when implementing Code, so _result is never changed from UNKNOWN. This fixes that and initialized _result in the constructor to avoid the initialization funny business.

Additionally, make UNKNOWN_EXCEPTION have value 0xFF so that it stands out more in memory view.