Added optimisation if actor calling the path finding is surrounded by obstacles.
Added optimisation if actor calling the path finding is surrounded by obstacles.

tpoikela/battles,tpoikela/battles,tpoikela/battles,tpoikela/battles,tpoikela/battles