Skip to content

Commit

Permalink
[10069] Really do "Avoid assign random move to player owned creatures…
Browse files Browse the repository at this point in the history
… as default movegen."
  • Loading branch information
VladimirMangos committed Jun 16, 2010
1 parent 51f93a2 commit 54e247f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/CreatureAISelector.cpp
Expand Up @@ -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 )
{
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10068"
#define REVISION_NR "10069"
#endif // __REVISION_NR_H__

0 comments on commit 54e247f

Please sign in to comment.