Menu

#1 Reflex Fix

open
nobody
None
5
2014-10-25
2002-10-20
Daren
No

aiNodes are not required to have parents, but the
reflex constructor doesn't test to see if an aiNode
doesn't have a parent before trying to access the
parent pointer to initialize _aiManSubject with
me->mParent->mAiManager. This patch contains the
changes made to the constructor so that it does test to
see if the parent exists, if it doesn't, it uses
me->mAiManager to initialize _aiManSubject.

The file attached is the fixed reflex.cpp

Discussion


Log in to post a comment.