mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 04:37:06 +00:00
[10069] Really do "Avoid assign random move to player owned creatures as default movegen."
This commit is contained in:
parent
492f467bcc
commit
b261529d31
2 changed files with 2 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ namespace FactorySelector
|
|||
MovementGeneratorRegistry &mv_registry(MovementGeneratorRepository::Instance());
|
||||
ASSERT( creature->GetCreatureInfo() != NULL );
|
||||
MovementGeneratorCreator const * mv_factory = mv_registry.GetRegistryItem(
|
||||
creature->GetOwnerGUID() ? FOLLOW_MOTION_TYPE : creature->GetDefaultMovementType());
|
||||
IS_PLAYER_GUID(creature->GetOwnerGUID()) ? FOLLOW_MOTION_TYPE : creature->GetDefaultMovementType());
|
||||
|
||||
/* if( mv_factory == NULL )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10068"
|
||||
#define REVISION_NR "10069"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue