diff --git a/Engine.c b/Engine.c index 06bcb7f..5803bb6 100644 --- a/Engine.c +++ b/Engine.c @@ -188,7 +188,7 @@ void interact() } } -void kListen(int* whichKaos) +void kListen() { if (spellbutton) { @@ -197,10 +197,10 @@ void kListen(int* whichKaos) synergize(); spellFlag = -1; } - if (*whichKaos >= 0) + if (kaosFlag >= 0) { - run(rightHere->eventTriggers[*whichKaos]); - *whichKaos = -1; + run(rightHere->eventTriggers[kaosFlag]); + kaosFlag = -1; } } diff --git a/Engine.h b/Engine.h index 36e4664..f083e8d 100644 --- a/Engine.h +++ b/Engine.h @@ -20,7 +20,7 @@ void renderForeground(); void interact(); -void kListen(int* whichKaos); +void kListen(); // system