Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/Network/NG_NetworkScene.cpp')
-rw-r--r--source/gameengine/Network/NG_NetworkScene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Network/NG_NetworkScene.cpp b/source/gameengine/Network/NG_NetworkScene.cpp
index b867791e12d..c66eb3730ac 100644
--- a/source/gameengine/Network/NG_NetworkScene.cpp
+++ b/source/gameengine/Network/NG_NetworkScene.cpp
@@ -31,7 +31,7 @@
* NetworkSceneManagement generic implementation
*/
#include <stdio.h>
-#include <assert.h>
+#include <MT_assert.h>
#include <algorithm>
#include "NG_NetworkScene.h"
@@ -199,7 +199,7 @@ vector<NG_NetworkMessage*> NG_NetworkScene::FindMessages(
// possibly it's there, but maybe not (false hit)
if (to.IsEmpty()) {
// take all messages, and check other fields
- assert("objectnames that are empty are not valid, so make it a hobby project :)\n");
+ MT_assert(!"objectnames that are empty are not valid, so make it a hobby project :)\n");
} else {
//todo: find intersection of messages (that are in other 2 maps)
vector<NG_NetworkMessage*>** tolistptr = m_messagesByDestinationName[to];