--- a/src/proto2/Engine.cc Tue Nov 18 19:42:01 2008 +0000
+++ b/src/proto2/Engine.cc Tue Nov 18 19:59:43 2008 +0000
@@ -2,6 +2,7 @@
#include "Engine.hh"
#include "NetworkServer.hh"
#include "NetworkClient.hh"
+#include "SinglePlayer.hh"
#include <iostream>
@@ -28,7 +29,10 @@
}
void Engine::setupSinglePlayer (void) {
- LocalPlayer* lp = new LocalPlayer(Vector(400, 300), true);
+ // create player directly
+ LocalPlayer* lp = new SinglePlayer();
+
+ // add to gamestate
game_state.newLocalPlayer(lp);
}