Merge pull request #313 from sn3ejk/sn3ejk

Fix extended opcodes for forgottenserver.
This commit is contained in:
Sam 2013-04-05 18:50:02 -07:00
commit 1415de222c
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ index b980be0..7a84f61 100644
+ std::string buffer = msg.getString(); + std::string buffer = msg.getString();
+ +
+ // process additional opcodes via lua script event + // process additional opcodes via lua script event
+ addGameTask(&Game::parsePlayerExtendedOpcode, player->getId(), opcode, buffer); + addGameTask(&Game::parsePlayerExtendedOpcode, player->getID(), opcode, buffer);
+} +}
+ +
+void ProtocolGame::sendExtendedOpcode(uint8_t opcode, const std::string& buffer) +void ProtocolGame::sendExtendedOpcode(uint8_t opcode, const std::string& buffer)