]> git.jsancho.org Git - lugaru.git/commitdiff
Squash one remaining registration tidbit
authorAlexander Monakov <amonakov@gmail.com>
Fri, 7 Jan 2011 18:15:45 +0000 (21:15 +0300)
committerAlexander Monakov <amonakov@gmail.com>
Fri, 7 Jan 2011 18:15:45 +0000 (21:15 +0300)
Source/Game.cpp
Source/Game.h
Source/OpenGL_Windows.cpp

index 6592a31a52cfd9600d0121a4f26496c34414e75c..c3c846d8bce2a8fd6e878c2f22f4c15062cc271a 100644 (file)
@@ -200,7 +200,6 @@ Game::Game()
        consoleselected = 0;
 //     memset(togglekey, 0, sizeof(togglekey));
 //     memset(togglekeydelay, 0, sizeof(togglekeydelay));
-       registernow = 0;
        autocam = 0;
 
        crouchkey = 0,jumpkey = 0,forwardkey = 0,chatkey = 0,backkey = 0,leftkey = 0,rightkey = 0,drawkey = 0,throwkey = 0,attackkey = 0;
index 7bc3e89f7d24bae2755d8676dc1823e2f7482a4d..d09474a96b2f640f1f4f0779a83abb2bc1488afe 100644 (file)
@@ -225,7 +225,6 @@ class Game
                int consoleselected;
                //int togglekey[140];
                //float togglekeydelay[140];
-               bool registernow;
                bool autocam;
 
                unsigned short crouchkey,jumpkey,forwardkey,chatkey,backkey,leftkey,rightkey,drawkey,throwkey,attackkey;
index 365e48a900e7e9eb37f49e6b8aad2d26952331ca..8b82e3e4ae2561fc9df057c6c7859a2359060a7f 100644 (file)
@@ -681,7 +681,6 @@ int main(int argc, char **argv)
 
        try
        {
-               bool regnow = false;
                {
                        Game game;
                        pgame = &game;
@@ -740,7 +739,6 @@ int main(int argc, char **argv)
                                }
                        }
 
-                       regnow = game.registernow;
                }
                pgame = 0;