aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/animations/swing_mele.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_mele.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_mele.lua')
-rw-r--r--gamemode/shared/animations/swing_mele.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/gamemode/shared/animations/swing_mele.lua b/gamemode/shared/animations/swing_mele.lua
index 4a38876..c47c0b3 100644
--- a/gamemode/shared/animations/swing_mele.lua
+++ b/gamemode/shared/animations/swing_mele.lua
@@ -1,6 +1,6 @@
-nrequire("sh_animations.lua")
+local ani = nrequire("sh_animations.lua")
-RegisterLuaAnimation('swing_onehand_left', {
+ani.RegisterAnimation('swing_onehand_left', {
FrameData = {
{
BoneInfo = {
@@ -104,7 +104,7 @@ RegisterLuaAnimation('swing_onehand_left', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('swing_onehand_overhead', {
+ani.RegisterAnimation('swing_onehand_overhead', {
FrameData = {
{
BoneInfo = {
@@ -235,7 +235,7 @@ RegisterLuaAnimation('swing_onehand_overhead', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('swing_onehand_right', {
+ani.RegisterAnimation('swing_onehand_right', {
FrameData = {
{
BoneInfo = {
@@ -359,7 +359,7 @@ RegisterLuaAnimation('swing_onehand_right', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('swing_onehand_stab', {
+ani.RegisterAnimation('swing_onehand_stab', {
FrameData = {
{
BoneInfo = {