Skip to content

Commit

Permalink
Fix rename endOfPlayerCommand()
Browse files Browse the repository at this point in the history
  • Loading branch information
thoni56 committed Apr 12, 2021
1 parent 199f668 commit 0a9992c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@ void parse(void) {
capitalize = TRUE;

firstWord = currentWordIndex;
if (isDirectionWord(currentWordIndex) && endOfSentence(currentWordIndex+1)) {
if (isDirectionWord(currentWordIndex) && endOfPlayerCommand(currentWordIndex+1)) {
clearParameterArray(previousMultipleParameters);
clearPronounList(pronouns);
handleDirectionalCommand();
Expand Down

0 comments on commit 0a9992c

Please sign in to comment.