[7854] Fixed typo in random text selection code. Author: NoFantasy

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-19 15:42:06 -05:00
parent 74206e4b6a
commit 1e3591d4e9

View File

@@ -331,8 +331,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))