diff options
author | Shauren <shauren.trinity@gmail.com> | 2012-02-23 16:14:50 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2012-02-23 16:14:50 +0100 |
commit | 8ae3037307c9ca2ebc17fae286f59b51bc4b1c79 (patch) | |
tree | 46c98ce0a467ee6ae15fe30bb00035846abe0c9b /src/server/collision/Models/GameObjectModel.cpp | |
parent | adc115dc41a7af07ab27f35db674568fd88d05db (diff) |
Compile fix for gcc 4.5 and higher
Diffstat (limited to 'src/server/collision/Models/GameObjectModel.cpp')
-rw-r--r-- | src/server/collision/Models/GameObjectModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/collision/Models/GameObjectModel.cpp b/src/server/collision/Models/GameObjectModel.cpp index c0bcdd1e782..1c3a0aa639e 100644 --- a/src/server/collision/Models/GameObjectModel.cpp +++ b/src/server/collision/Models/GameObjectModel.cpp @@ -83,7 +83,7 @@ void LoadGameObjectModelList() } fclose(model_list_file); - sLog->outString(">> Loaded %d GameObject models in %u ms", model_list.size(), GetMSTimeDiffToNow(oldMSTime)); + sLog->outString(">> Loaded %u GameObject models in %u ms", model_list.size(), GetMSTimeDiffToNow(oldMSTime)); sLog->outString(); } @@ -103,7 +103,7 @@ bool GameObjectModel::initialize(const GameObject& go, const GameObjectDisplayIn // ignore models with no bounds if (mdl_box == G3D::AABox::zero()) { - sLog->outError("GameObject model %s has zero bounds, loading skipped", it->second.name); + sLog->outError("GameObject model %s has zero bounds, loading skipped", it->second.name.c_str()); return false; } |