View Single Post
  #2  
Old 07-04-2011, 08:44 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by Ganedar View Post
i was able to reproduce this bug and fixed it by adding to Bot:eath,

if(HasGroup())
Bot::RemoveBotFromGroup(this, GetGroup());
Why not use a this pointer if it's in Bot, or just write
if(HasGroup())
RemoveBotFromGroup(GetGroup())
Reply With Quote