summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index f59375c69..e39ff93f0 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -458,7 +458,7 @@ int SkillStatusChangeTable(int skill)
ShowError("add_sc: Unsupported skill id %d\n", skill);
return -1;
}
- return SkillStatusChangeTableArray[skill];
+ return SkillStatusChangeTableArray[sk];
}
int StatusIconChangeTable[SC_MAX]; //Stores the icon that should be associated to this status change.
static void initDummyData(void) {