[9207] Fixed chase/follow functions calls in movegen templates system.

This commit specially made indeepndent from other changes for show problem
in my prev. commit where 2 new movegens added.

For proper call Initilize/Finilize/Reset/Interrupt/Update functions _important_
set second template arg in MovementGeneratorMedium< T, D >
in _last_ class in class chain. In other case in chase/follow instead TargetedMovementGeneratorMedium
In other cases will called referenced functions from TargetedMovementGeneratorMedium
instead proper subclasses.
This commit is contained in:
VladimirMangos 2010-01-18 10:29:28 +03:00
parent 98adbbc3d3
commit 7d6b1b292e
3 changed files with 38 additions and 31 deletions

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9206"
#define REVISION_NR "9207"
#endif // __REVISION_NR_H__