From 5ac71db62d8801b267eec1308fee06bacb44fe77 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 10 Jul 2005 00:45:42 +0000 Subject: [PATCH] Tiny fixes --- dlls/esforces/esfmod/esf_anim.cpp | 4 ++-- dlls/esforces/esfmod/esf_base.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/esforces/esfmod/esf_anim.cpp b/dlls/esforces/esfmod/esf_anim.cpp index 41a7ba03..d27a090e 100755 --- a/dlls/esforces/esfmod/esf_anim.cpp +++ b/dlls/esforces/esfmod/esf_anim.cpp @@ -61,7 +61,7 @@ static cell AMX_NATIVE_CALL esf_is_prepunch(AMX *amx, cell *params) return 0; } -static cell AMX_NATIVE_CALL esf_is_stance(AMX *amx, cell *params) +static cell AMX_NATIVE_CALL esf_in_stance(AMX *amx, cell *params) { int index = params[1]; CHECKPLAYER(index); @@ -664,7 +664,7 @@ static cell AMX_NATIVE_CALL esf_is_beamjumping(AMX *amx, cell *params) AMX_NATIVE_INFO g_AnimationNatives[] = { {"esf_is_swooping", esf_is_swooping}, {"esf_is_prepunch", esf_is_prepunch}, - {"esf_is_stance", esf_is_stance}, + {"esf_in_stance", esf_in_stance}, {"esf_is_stunned", esf_is_stunned}, {"esf_is_grappling", esf_is_grappling}, {"esf_is_crushed", esf_is_crushed}, diff --git a/dlls/esforces/esfmod/esf_base.cpp b/dlls/esforces/esfmod/esf_base.cpp index 5fb768d4..8b41ad8e 100755 --- a/dlls/esforces/esfmod/esf_base.cpp +++ b/dlls/esforces/esfmod/esf_base.cpp @@ -83,7 +83,7 @@ static cell AMX_NATIVE_CALL esf_set_swoopspeed(AMX *amx, cell *params) return 1; } -static cell AMX_NATIVE_CALL esf_set_powerlevel(AMX *amx, cell *params) +static cell AMX_NATIVE_CALL esf_set_health(AMX *amx, cell *params) { int index = params[1]; CHECKPLAYER(index); @@ -147,7 +147,7 @@ AMX_NATIVE_INFO g_BaseNatives[] = { {"esf_set_ki", esf_set_ki}, {"esf_get_swoopspeed", esf_get_swoopspeed}, {"esf_set_swoopspeed", esf_set_swoopspeed}, - {"esf_set_powerlevel", esf_set_powerlevel}, + {"esf_set_health", esf_set_health}, {"esf_set_chargebar", esf_set_chargebar}, {NULL, NULL}, };