summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/chat.cpp2
-rw-r--r--src/gui/chat.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 6c17942d..b308bed4 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -101,6 +101,8 @@ void Chat::chat_log(string line, int own, ALFONT_FONT * font) {
chatlog.push_front(tmp);
}
+/** function overload -> calls original chat_log()
+ after processing the packet */
void Chat::chat_log(CHATSKILL action, ALFONT_FONT * font) {
chat_log(const_msg(action), BY_SERVER, font);
}
diff --git a/src/gui/chat.h b/src/gui/chat.h
index 76de1f95..5280ff49 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -120,8 +120,7 @@ class Chat {
void chat_dlgrsize(int);
void chat_log(string, int, ALFONT_FONT *);
- void chat_log(CHATSKILL, ALFONT_FONT *); // function overload -> calls original chat_log()
- // after processing the packet
+ void chat_log(CHATSKILL, ALFONT_FONT *);
void chat_draw(BITMAP *, int, ALFONT_FONT *);
char * chat_send(string, string);