# HG changeset patch # User wenlin_fife@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1245851252 0 # Node ID 8aae3fabcf419cc21062d4bdbe22390acec275d6 # Parent e194eb289fb09786bf841aac53be270f17ab2980 remove the reference of the LinearPather diff -r e194eb289fb0 -r 8aae3fabcf41 engine/core/controller/engine.cpp --- a/engine/core/controller/engine.cpp Wed Jun 24 13:46:22 2009 +0000 +++ b/engine/core/controller/engine.cpp Wed Jun 24 13:47:32 2009 +0000 @@ -60,7 +60,7 @@ #include "loaders/native/video_loaders/image_loader.h" #include "loaders/native/audio_loaders/ogg_loader.h" #include "model/model.h" -#include "pathfinder/linearpather/linearpather.h" +//#include "pathfinder/linearpather/linearpather.h" #include "pathfinder/routepather/routepather.h" #include "model/metamodel/grids/hexgrid.h" #include "model/metamodel/grids/squaregrid.h" @@ -235,7 +235,7 @@ FL_LOG(_log, "Creating model"); m_model = new Model(); FL_LOG(_log, "Adding pathers to model"); - m_model->adoptPather(new LinearPather()); +// m_model->adoptPather(new LinearPather()); m_model->adoptPather(new RoutePather()); FL_LOG(_log, "Adding grid prototypes to model"); m_model->adoptCellGrid(new SquareGrid());