Skip to content

Commit

Permalink
Fix issue #274.
Browse files Browse the repository at this point in the history
Fix issue mikepauer/Carbonite.Quests#117 and many other problems with Quest module.
  • Loading branch information
IrcDirk committed Sep 18, 2024
1 parent 2ca3042 commit fb542be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Carbonite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ Nx.Whatsnew.Maps = {
Nx.Whatsnew.WhichCat = 1
Nx.Whatsnew.HasWhatsNew = nil

-- FIX TO PREVENT INTEGER OVERFLOW IN C
bit.rshift = function(n, r)
return math.floor(n / math.pow(2, r)) % math.pow(2, 32)
end;

function GetCurrencyInfo(_type)

if _type == 390 then
Expand Down
2 changes: 1 addition & 1 deletion NxMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8678,7 +8678,7 @@ function Nx.Map:IconOnMouseDown (button)
end

else
if map.ClickIcon.iconType == "!RSR" and RareScanner then
if map.ClickIcon and map.ClickIcon.iconType == "!RSR" and RareScanner then
local rspin = this.NXData.UData
if not rspin.owningMap then
rspin.owningMap = WorldMapFrame
Expand Down

0 comments on commit fb542be

Please sign in to comment.