Fix for door clicking, add a few more opcodes.

This commit is contained in:
KimLS
2024-11-30 15:17:46 -08:00
parent b95cd989c4
commit 2d8b777120
8 changed files with 34 additions and 33 deletions
+11
View File
@@ -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;