aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureEventAI.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-19 15:42:06 -0500
committermegamage <none@none>2009-05-19 15:42:06 -0500
commit1e3591d4e957d4de1c1bf95ca377834132db1b03 (patch)
tree8363ca2071bb9f97287d8f086a73b28eee413ce7 /src/game/CreatureEventAI.cpp
parent74206e4b6acb921806f19f52fc8cefa4e8a2ae52 (diff)
[7854] Fixed typo in random text selection code. Author: NoFantasy
--HG-- branch : trunk
Diffstat (limited to 'src/game/CreatureEventAI.cpp')
-rw-r--r--src/game/CreatureEventAI.cpp4
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))