Skip to content

Commit

Permalink
info_player_deathmatch entity angle absense fix
Browse files Browse the repository at this point in the history
  • Loading branch information
konexxion committed Apr 8, 2015
1 parent 1788864 commit 8def92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/main.js
Expand Up @@ -166,7 +166,7 @@ function respawnPlayer(index) {

playerMover.velocity = [0,0,0];

zAngle = -spawnPoint.angle * (3.1415/180) + (3.1415*0.5); // Negative angle in radians + 90 degrees
zAngle = -(spawnPoint.angle || 0) * (3.1415/180) + (3.1415*0.5); // Negative angle in radians + 90 degrees
xAngle = 0;
}
}
Expand Down

0 comments on commit 8def92b

Please sign in to comment.