aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/animations/swing_axe.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2018-11-02 16:10:02 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2018-11-02 16:10:02 -0400
commit9408c8cc53b99585b1cfb3c4fbf0a1f4df438bd6 (patch)
tree75a879b12dd1d313b6e4290d4d559a716291a844 /gamemode/shared/animations/swing_axe.lua
parentf4ea4dc0bbc852c1e519be8435dbfcc5bc1e3834 (diff)
downloadartery-9408c8cc53b99585b1cfb3c4fbf0a1f4df438bd6.tar.gz
artery-9408c8cc53b99585b1cfb3c4fbf0a1f4df438bd6.tar.bz2
artery-9408c8cc53b99585b1cfb3c4fbf0a1f4df438bd6.zip
Use pac3's new animation library api
Pac3 modified it's animation library
Diffstat (limited to 'gamemode/shared/animations/swing_axe.lua')
-rw-r--r--gamemode/shared/animations/swing_axe.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/gamemode/shared/animations/swing_axe.lua b/gamemode/shared/animations/swing_axe.lua
index 9e8ddb4..065c114 100644
--- a/gamemode/shared/animations/swing_axe.lua
+++ b/gamemode/shared/animations/swing_axe.lua
@@ -1,6 +1,6 @@
-nrequire("sh_animations.lua")
+local ani = nrequire("sh_animations.lua")
-RegisterLuaAnimation('axe_swing_up', {
+ani.RegisterAnimation('axe_swing_up', {
FrameData = {
{
BoneInfo = {
@@ -52,7 +52,7 @@ RegisterLuaAnimation('axe_swing_up', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('axe_swing_left', {
+ani.RegisterAnimation('axe_swing_left', {
FrameData = {
{
BoneInfo = {
@@ -91,7 +91,7 @@ RegisterLuaAnimation('axe_swing_left', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('axe_swing_right', {
+ani.RegisterAnimation('axe_swing_right', {
FrameData = {
{
BoneInfo = {