mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-01 14:21:37 +00:00
Fix for door clicking, add a few more opcodes.
This commit is contained in:
@@ -2748,6 +2748,17 @@ namespace Laurion
|
||||
|
||||
DECODE(OP_ConsiderCorpse) { DECODE_FORWARD(OP_Consider); }
|
||||
|
||||
DECODE(OP_ClickDoor)
|
||||
{
|
||||
DECODE_LENGTH_EXACT(structs::ClickDoor_Struct);
|
||||
SETUP_DIRECT_DECODE(ClickDoor_Struct, structs::ClickDoor_Struct);
|
||||
|
||||
IN(doorid);
|
||||
IN(player_id);
|
||||
|
||||
FINISH_DIRECT_DECODE();
|
||||
}
|
||||
|
||||
//Naive version but should work well enough for now
|
||||
int ExtractIDFile(const std::string& input) {
|
||||
std::string number;
|
||||
|
||||
Reference in New Issue
Block a user