[7854] Fixed typo in random text selection code.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
NoFantasy 2009-05-19 23:23:50 +04:00 committed by VladimirMangos
parent 4e748b3786
commit 83beb6ec1d
2 changed files with 3 additions and 3 deletions

View file

@ -328,8 +328,8 @@ void CreatureEventAI::ProcessAction(CreatureEventAI_Action const& action, uint32
switch( rand()%3 )
{
case 0: temp = action.text.TextId1; break;
case 2: temp = action.text.TextId2; break;
case 3: temp = action.text.TextId3; break;
case 1: temp = action.text.TextId2; break;
case 2: temp = action.text.TextId3; break;
}
}
else if (action.text.TextId2 && urand(0,1))

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7853"
#define REVISION_NR "7854"
#endif // __REVISION_NR_H__