summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-02 23:05:46 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-02 23:05:46 +0000
commit8676da1517a86105e4cb4970fd3a7886f7d0c214 (patch)
tree5c4b3b7748c62d9375799f375e13c4b58a89498a /src/net
parent8714de88fe9715b5a4014f16d15bc55f8860cdcf (diff)
downloadmana-client-8676da1517a86105e4cb4970fd3a7886f7d0c214.tar.gz
mana-client-8676da1517a86105e4cb4970fd3a7886f7d0c214.tar.bz2
mana-client-8676da1517a86105e4cb4970fd3a7886f7d0c214.tar.xz
mana-client-8676da1517a86105e4cb4970fd3a7886f7d0c214.zip
Some cleanups, fixes and a small start on a solution for the animated sprite
synchronization problem (resetting all animations).
Diffstat (limited to 'src/net')
-rw-r--r--src/net/network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/network.cpp b/src/net/network.cpp
index bd0e2444..757a533e 100644
--- a/src/net/network.cpp
+++ b/src/net/network.cpp
@@ -112,8 +112,8 @@ Network::~Network()
SDL_DestroyMutex(mMutex);
- delete mInBuffer;
- delete mOutBuffer;
+ delete[] mInBuffer;
+ delete[] mOutBuffer;
}
bool Network::connect(const std::string &address, short port)