commit 63763043
Removed unused code
Changed files
| M | source/code/BlockGame.cpp before |
diff --git a/source/code/BlockGame.cpp b/source/code/BlockGame.cpp
index 71aadd2..9dc79f2 100644
--- a/source/code/BlockGame.cpp
+++ b/source/code/BlockGame.cpp
@@ -34,7 +34,7 @@ http://blockattack.net
#include "BlockGame.hpp"
#include "puzzlehandler.hpp"
#include "stageclearhandler.hpp"
-#include <boost/lexical_cast.hpp>
+#include <sstream>
using namespace std;
@@ -133,8 +133,6 @@ BlockGame::~BlockGame() {
}
void BlockGame::setGameSpeed(int globalSpeedLevel) {
- boost::format f("%1%");
- f % globalSpeedLevel;
switch (globalSpeedLevel) {
case 0:
baseSpeed=0.5;
@@ -158,8 +156,6 @@ void BlockGame::setGameSpeed(int globalSpeedLevel) {
}
void BlockGame::setHandicap(int globalHandicap) {
- boost::format f("%1%");
- f % globalHandicap;
handicap=1000*((int)globalHandicap);
}