GatherHud

2 - 3.1 bug (facing - setup sin/cos variables)

What steps will reproduce the problem?
1. Just start it in 3.1

What is the expected output? What do you see instead?
-

What version of the product are you using?
-

Do you have an error log of what happened?
-

Please provide any additional information below.

Please, use GetPlayerFacing()

old style code, like this, causing bug:
    -- facing - setup sin/cos variables
if (GetCVar("rotateMinimap") ~= "0") then
    facing = -MiniMapCompassRing:GetFacing();
else
    facing = playerModel:GetFacing();
end

User When Change
grum Apr 22, 2009 at 06:52 UTC Changed status from New to Fixed
Zuz666 Apr 18, 2009 at 20:49 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of grum grum Apr 22, 2009 at 06:52 UTC - 0 likes

    Fixed with 1.1.4

  • Avatar of AesirRising AesirRising Apr 18, 2009 at 22:38 UTC - 0 likes

    Here's the relevant !Swatter log for this issue:

    Error occured in: Global
    Count: 8
    Message: ..\AddOns\GatherHud\GatherHud.lua line 147:
       attempt to index global 'MiniMapCompassRing' (a nil value)
    Debug:
       (tail call): ?
       [C]: ?
       GatherHud\GatherHud.lua:147:
          GatherHud\GatherHud.lua:131
    
  • 2 comments

Facts

Last updated
Mar 30, 2012
Reported
Apr 18, 2009
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees