aboutsummaryrefslogtreecommitdiff
path: root/src/magic.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/magic.cc')
-rw-r--r--src/magic.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/magic.cc b/src/magic.cc
index 53ec1da..1caf83b 100644
--- a/src/magic.cc
+++ b/src/magic.cc
@@ -279,9 +279,9 @@ void TDrunkenImpact::handleCreature(TCreature *Victim){
int Power = this->Power;
int Duration = this->Duration;
- TSkill *Drunk = Victim->Skills[SKILL_DRUNK];
- if(Drunk->TimerValue() <= Power){
- Victim->SetTimer(SKILL_DRUNK, Power, Duration, Duration, -1);
+ TSkill *Drunken = Victim->Skills[SKILL_DRUNKEN];
+ if(Drunken->TimerValue() <= Power){
+ Victim->SetTimer(SKILL_DRUNKEN, Power, Duration, Duration, -1);
}
}