diff options
author | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-08 16:46:21 +0000 |
---|---|---|
committer | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-08 16:46:21 +0000 |
commit | 396c12ee73193f4ac3665ecac2f634fc0b046697 (patch) | |
tree | 16edb33b60f95f6bda93bc84b3f2eb81e316ba1d /nGenEx/MultiController.cpp | |
parent | 50971e84e295033941fac5291b08e593541fe945 (diff) | |
download | starshatter-396c12ee73193f4ac3665ecac2f634fc0b046697.zip starshatter-396c12ee73193f4ac3665ecac2f634fc0b046697.tar.gz starshatter-396c12ee73193f4ac3665ecac2f634fc0b046697.tar.bz2 |
Fixes for unsafe string handling, variable scoping errors.
Diffstat (limited to 'nGenEx/MultiController.cpp')
-rw-r--r-- | nGenEx/MultiController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nGenEx/MultiController.cpp b/nGenEx/MultiController.cpp index 7631ac5..d2b194f 100644 --- a/nGenEx/MultiController.cpp +++ b/nGenEx/MultiController.cpp @@ -24,7 +24,7 @@ MultiController::MultiController() action[i] = 0;
nctrl = 0;
- for (i = 0; i < 4; i++)
+ for (int i = 0; i < 4; i++)
ctrl[i] = 0;
}
@@ -78,7 +78,7 @@ MultiController::Acquire() for (int i = 0; i < MotionController::MaxActions; i++)
action[i] = 0;
- for (i = 0; i < nctrl; i++) {
+ for (int i = 0; i < nctrl; i++) {
ctrl[i]->Acquire();
x += ctrl[i]->X();
|