mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[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:
parent
98adbbc3d3
commit
7d6b1b292e
3 changed files with 38 additions and 31 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9206"
|
||||
#define REVISION_NR "9207"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue