I will make sure to check that further pointers are valid. I've edited this code and tested it without a pet, with an enchanter animation, and with a charmed pet. All work properly with no crashes now.
My thanks to Cavedude for catching the bug (as well as running TGC and PEQ... my son and I enjoy your server). Code:
void Mob::SetInvisible(bool state) |
All times are GMT -4. The time now is 03:03 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.