diff options
author | Stijn Buys <ingar@osirion.org> | 2011-07-31 18:24:01 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-07-31 18:24:01 +0000 |
commit | 45054b224d8f0f8b6d7db4bcd0b0abf6763a60ab (patch) | |
tree | c23ea79d4564037673312ea1d4cb936272c65a06 /src/client/testmodelwindow.cc | |
parent | f0cbe1d0655013d14dd4f1807ddb88789ae8d27a (diff) |
Improved map window, moved the actual map widget into a seperate class.
Diffstat (limited to 'src/client/testmodelwindow.cc')
-rw-r--r-- | src/client/testmodelwindow.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/testmodelwindow.cc b/src/client/testmodelwindow.cc index 9d8d0b0..d70fbbf 100644 --- a/src/client/testmodelwindow.cc +++ b/src/client/testmodelwindow.cc @@ -8,6 +8,7 @@ #include "ui/paint.h" #include "client/testmodelwindow.h" #include "model/model.h" +#include "core/gameinterface.h" namespace client { @@ -41,6 +42,7 @@ TestModelWindow::~TestModelWindow() void TestModelWindow::set_modelname(const std::string & modelname) { testmodelwindow_modelview->set_modelname(modelname); + testmodelwindow_modelview->set_colors(core::localplayer()->color(), core::localplayer()->color_second()); } void TestModelWindow::resize() |