YTDB

YTDB (http://ytdb.ru/index.php)
-   CMaNGOS Commits (http://ytdb.ru/forumdisplay.php?f=27)
-   -   [9207] Fixed chase/follow functions calls in movegen templates system. (http://ytdb.ru/showthread.php?t=2463)

newsbot 18.01.2010 10:40

[9207] Fixed chase/follow functions calls in movegen templates system.
 
<pre>m src/game/TargetedMovementGenerator.cpp
m src/game/TargetedMovementGenerator.h
m src/shared/revision_nr.h

[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.</pre>



Дальше...

tempura 26.02.2010 10:57

Тут мысль возникла - если этот коммит откатить как-то - падения на мув генератор не прекратятся? :)

Код:

Call stack:
Address  Frame    Function      SourceFile
000000014059E2D2  0000000008F89440  ?GetResetPosition@?$MovementGeneratorMedium@VCreature@@V?$RandomMovementGenerator@VCreature@@@@@@UEAA_NAEAVUnit@@AEAM11@Z+2B272
000000014059BCB2  0000000008F89600  ?GetResetPosition@?$MovementGeneratorMedium@VCreature@@V?$RandomMovementGenerator@VCreature@@@@@@UEAA_NAEAVUnit@@AEAM11@Z+28C52
000000014059B8EF  0000000008F89630  ?GetResetPosition@?$MovementGeneratorMedium@VCreature@@V?$RandomMovementGenerator@VCreature@@@@@@UEAA_NAEAVUnit@@AEAM11@Z+2888F



Текущее время: 07:57. Часовой пояс GMT +4.

YTDB - MaNGOS DataBase