diff options
author | megamage <none@none> | 2009-05-19 15:42:06 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-19 15:42:06 -0500 |
commit | 1e3591d4e957d4de1c1bf95ca377834132db1b03 (patch) | |
tree | 8363ca2071bb9f97287d8f086a73b28eee413ce7 | |
parent | 74206e4b6acb921806f19f52fc8cefa4e8a2ae52 (diff) |
[7854] Fixed typo in random text selection code. Author: NoFantasy
--HG--
branch : trunk
-rw-r--r-- | src/game/CreatureEventAI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |