Fixed action lists to sort correctly for non-English languages

svn-id: r29144
This commit is contained in:
Paul Gilbert 2007-09-30 12:35:37 +00:00
parent 23c38f0b62
commit cb2f6ce092
3 changed files with 24 additions and 17 deletions

View file

@ -30,10 +30,6 @@
namespace Lure {
extern const Action sortedActions[] = {ASK, BRIBE, BUY, CLOSE, DRINK, EXAMINE, GET, GIVE,
GO_TO, LOCK, LOOK, LOOK_AT, LOOK_THROUGH, OPEN, OPERATE, PULL, PUSH, RETURN,
STATUS, TALK_TO, TELL, UNLOCK, USE, NONE};
extern const int actionNumParams[NPC_JUMP_ADDRESS+1] = {0,
1, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 2, 0, 1,
0, 1, 1, 1, 1, 0, 0, 2, 1, 1, 0, 0, 1, 1, 2, 2, 5, 2, 2, 1};