From: Alexander Monakov Date: Fri, 7 Jan 2011 18:15:45 +0000 (+0300) Subject: Squash one remaining registration tidbit X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=222ac640b0cab6096ea8838388ecf01e6eb94450;p=lugaru.git Squash one remaining registration tidbit --- diff --git a/Source/Game.cpp b/Source/Game.cpp index 6592a31..c3c846d 100644 --- a/Source/Game.cpp +++ b/Source/Game.cpp @@ -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; diff --git a/Source/Game.h b/Source/Game.h index 7bc3e89..d09474a 100644 --- a/Source/Game.h +++ b/Source/Game.h @@ -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; diff --git a/Source/OpenGL_Windows.cpp b/Source/OpenGL_Windows.cpp index 365e48a..8b82e3e 100644 --- a/Source/OpenGL_Windows.cpp +++ b/Source/OpenGL_Windows.cpp @@ -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;