Fix MODE_FREEAIM
We need it because reasons.
This commit is contained in:
parent
1e407bf779
commit
61ae1d5e17
@ -1134,7 +1134,7 @@ function new_player(settings)
|
|||||||
-- set camera position
|
-- set camera position
|
||||||
if this.alive then
|
if this.alive then
|
||||||
client.camera_move_to(this.x, this.y + this.jerkoffs, this.z)
|
client.camera_move_to(this.x, this.y + this.jerkoffs, this.z)
|
||||||
if MODE_FREEAIM then
|
if MODE_FREEAIM and this.crosshair then
|
||||||
local function ang_dist(a, b)
|
local function ang_dist(a, b)
|
||||||
return math.atan2(math.sin(a-b), math.cos(a-b))
|
return math.atan2(math.sin(a-b), math.cos(a-b))
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user