[7854] Fixed typo in random text selection code. Author: NoFantasy
--HG-- branch : trunk
This commit is contained in:
1 parent
74206e4b6a
commit
1e3591d4e9
1 file changed
+2
-2
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user