mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
fix: Update nodeId to a uint32 in GetKnownTaxiNodes (#298)
This commit is contained in:
@@ -1683,7 +1683,7 @@ namespace LuaPlayer
|
|||||||
{
|
{
|
||||||
if (mask & (1 << bit))
|
if (mask & (1 << bit))
|
||||||
{
|
{
|
||||||
uint8 nodeId = (i * 32) + bit + 1;
|
uint32 nodeId = (i * 32) + bit + 1;
|
||||||
lua_pushinteger(L, nodeId);
|
lua_pushinteger(L, nodeId);
|
||||||
lua_rawseti(L, -2, lua_rawlen(L, -2) + 1);
|
lua_rawseti(L, -2, lua_rawlen(L, -2) + 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user