diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-15 02:10:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-15 02:10:09 +0300 |
commit | 435c12617241fb87225987f2e3f0521cf2dbae75 (patch) | |
tree | 16add38ce29c63cea06757bb835eadbfb4e59a01 /src/progs | |
parent | c29d9bec9751fbd836e59cb3ba60e778fca2f987 (diff) | |
download | ManaVerse-435c12617241fb87225987f2e3f0521cf2dbae75.tar.gz ManaVerse-435c12617241fb87225987f2e3f0521cf2dbae75.tar.bz2 ManaVerse-435c12617241fb87225987f2e3f0521cf2dbae75.tar.xz ManaVerse-435c12617241fb87225987f2e3f0521cf2dbae75.zip |
Remove unused channel parameter from talk methods.s20180215
Diffstat (limited to 'src/progs')
-rw-r--r-- | src/progs/manaplus/actions/chat.cpp | 4 | ||||
-rw-r--r-- | src/progs/manaplus/actions/pets.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/manaplus/actions/chat.cpp b/src/progs/manaplus/actions/chat.cpp index bbfefc826..986dda3ed 100644 --- a/src/progs/manaplus/actions/chat.cpp +++ b/src/progs/manaplus/actions/chat.cpp @@ -69,7 +69,7 @@ static void outString(ChatTab *const tab, if (tab == nullptr) { if (chatHandler != nullptr) - chatHandler->talk(def, GENERAL_CHANNEL); + chatHandler->talk(def); return; } @@ -126,7 +126,7 @@ static void outString(ChatTab *const tab, case ChatTabType::BATTLE: case ChatTabType::LANG: if (chatHandler != nullptr) - chatHandler->talk(str, GENERAL_CHANNEL); + chatHandler->talk(str); break; } } diff --git a/src/progs/manaplus/actions/pets.cpp b/src/progs/manaplus/actions/pets.cpp index f8785829a..301d05266 100644 --- a/src/progs/manaplus/actions/pets.cpp +++ b/src/progs/manaplus/actions/pets.cpp @@ -73,7 +73,7 @@ impHandler(talkPet) std::string args = event.args; if (findCutFirst(args, "/me ")) args = textToMe(args); - chatHandler->talkPet(args, GENERAL_CHANNEL); + chatHandler->talkPet(args); return true; } |