commit 5276103a
Removed unused variable
Changed files
| M | source/code/BlockGame.cpp before |
| M | source/code/main.cpp before |
| M | source/code/mainVars.hpp before |
diff --git a/source/code/BlockGame.cpp b/source/code/BlockGame.cpp
index 04ad395..e24b28c 100644
--- a/source/code/BlockGame.cpp
+++ b/source/code/BlockGame.cpp
@@ -319,7 +319,6 @@ void BlockGame::NewGame( unsigned int ticks)
bDisconnected =false;
#endif
nrFellDown = 0;
- lastNrOfPlayers = 1; //At least one player :-)
nrPushedPixel = 0;
nrStops = 0;
cursorx = 2;
diff --git a/source/code/main.cpp b/source/code/main.cpp
index cb2c5ae..e3d12ce 100644
--- a/source/code/main.cpp
+++ b/source/code/main.cpp
@@ -4383,7 +4383,6 @@ int runGame(int gametype, int level)
#endif
if (twoPlayers)
{
- lastNrOfPlayers = 2;
if ((theGame.isGameOver()) && (theGame2.isGameOver()))
{
if (theGame.GetScore()+theGame.GetHandicap()>theGame2.GetScore()+theGame2.GetHandicap())
diff --git a/source/code/mainVars.hpp b/source/code/mainVars.hpp
index 16c430d..1cd2346 100644
--- a/source/code/mainVars.hpp
+++ b/source/code/mainVars.hpp
@@ -270,8 +270,6 @@ unsigned long int Frames, Ticks;
char FPS[10];
#endif
-int lastNrOfPlayers; //1 if 1 player and 2 if vs. mode
-
int verboseLevel = 0;
//keySetup