diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/gui/chat.cpp | 5 | ||||
-rw-r--r-- | tmw.cbp | 20 |
3 files changed, 8 insertions, 23 deletions
@@ -1,4 +1,8 @@ -2007-09-08 Philipp Sehmisch <tmw@crushnet.org> +2007-09-11 Eugenio Favalli <elvenprogrammer@gmail.com> + + * src/gui/chat.cpp, tmw.cbp: Fixed admin commands. + +2007-09-08 Philipp Sehmisch <tmw@crushnet.org> * data/graphics/particles/aniblaze.png, data/graphics/particles/cookingfire.particle.xml, diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 0eb250e7..48c84b96 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -258,8 +258,9 @@ ChatWindow::chatSend(const std::string &nick, std::string msg) MessageOut outMsg(mNetwork); outMsg.writeInt16(CMSG_CHAT_MESSAGE); - outMsg.writeInt16(msg.length() + 4); - outMsg.writeString(msg, msg.length()); + // Added + 1 in order to let eAthena parse admin commands correctly + outMsg.writeInt16(msg.length() + 4 + 1); + outMsg.writeString(msg, msg.length() + 1); } else if (msg.substr(0, IS_ANNOUNCE_LENGTH) == IS_ANNOUNCE) { @@ -1173,26 +1173,6 @@ <Option link="0"/> <Option target="default"/> </Unit> - <Unit filename="src\resources\equipmentdb.cpp"> - <Option compilerVar="CPP"/> - <Option target="default"/> - </Unit> - <Unit filename="src\resources\equipmentdb.h"> - <Option compilerVar=""/> - <Option compile="0"/> - <Option link="0"/> - <Option target="default"/> - </Unit> - <Unit filename="src\resources\equipmentinfo.cpp"> - <Option compilerVar="CPP"/> - <Option target="default"/> - </Unit> - <Unit filename="src\resources\equipmentinfo.h"> - <Option compilerVar=""/> - <Option compile="0"/> - <Option link="0"/> - <Option target="default"/> - </Unit> <Unit filename="src\resources\image.cpp"> <Option compilerVar="CPP"/> <Option target="default"/> |