From 1e3591d4e957d4de1c1bf95ca377834132db1b03 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 19 May 2009 15:42:06 -0500 Subject: [7854] Fixed typo in random text selection code. Author: NoFantasy --HG-- branch : trunk --- src/game/CreatureEventAI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/CreatureEventAI.cpp b/src/game/CreatureEventAI.cpp index 116ff6d0cd3..0026658f319 100644 --- a/src/game/CreatureEventAI.cpp +++ b/src/game/CreatureEventAI.cpp @@ -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)) -- cgit v1.2.3