From afae63555b724e6f615b7de5e439ebc53bf15680 Mon Sep 17 00:00:00 2001 From: Aldori Date: Fri, 22 Aug 2025 13:28:57 -0400 Subject: [PATCH] fix: Update nodeId to a uint32 in GetKnownTaxiNodes (#298) --- src/LuaEngine/methods/PlayerMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LuaEngine/methods/PlayerMethods.h b/src/LuaEngine/methods/PlayerMethods.h index df625e9..8fa21fd 100644 --- a/src/LuaEngine/methods/PlayerMethods.h +++ b/src/LuaEngine/methods/PlayerMethods.h @@ -1683,7 +1683,7 @@ namespace LuaPlayer { if (mask & (1 << bit)) { - uint8 nodeId = (i * 32) + bit + 1; + uint32 nodeId = (i * 32) + bit + 1; lua_pushinteger(L, nodeId); lua_rawseti(L, -2, lua_rawlen(L, -2) + 1); }