Quote:
Originally Posted by tcsmyworld
Can anybody help me out here?
|
Alright, I'm not a Mob expert by any stretch, but I think this is what you need to do based on the above posts...try it and let me know what happens.
Back up MobAI.cpp and mob.h because I've been known to be frequently and catastrophically wrong
MobAI.cpp, Line 32, select, copy, delete the line
mob.h, Line 103, insert a blank line and paste
recompile
This removes the variable with global scope and makes it part of the Mob object, giving it one instance of this variable for each Mob. Don't know enough about what this variable does to determine if this variable should be public or private, but public will work for now.
Please, anyone, correct me if I'm totally wrong...I might be...but I thought I would try to help.
Regards,
krich