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
- 2 comments
- 2 comments
- Reply
- #2
grum Apr 22, 2009 at 06:52 UTC - 0 likesFixed with 1.1.4
- Reply
- #1
AesirRising Apr 18, 2009 at 22:38 UTC - 0 likesHere'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