Eluna fix opcode definitions

This commit is contained in:
Rochet2
2014-06-02 15:49:42 +03:00
committed by Foereaper
parent 9a1f8c7884
commit 40774d0c5c
4 changed files with 7 additions and 8 deletions

View File

@@ -831,7 +831,7 @@ namespace LuaGlobalFunctions
if (opcode >= NUM_MSG_TYPES)
return luaL_argerror(L, 1, "valid opcode expected");
Eluna::Push(L, new WorldPacket((Opcodes)opcode, size));
Eluna::Push(L, new WorldPacket((OpcodesList)opcode, size));
return 1;
}