diff options
author | Max Horn | 2009-05-30 20:37:33 +0000 |
---|---|---|
committer | Max Horn | 2009-05-30 20:37:33 +0000 |
commit | 70a04c8b51af66fcc30b5b22fad224d0f145a484 (patch) | |
tree | 85079d57325d352ff7567cd37392abf119e25b47 /engines/sci/gfx | |
parent | 539094d5a81fdb20e61a7a562ea7bbaed9c54e5f (diff) | |
download | scummvm-rg350-70a04c8b51af66fcc30b5b22fad224d0f145a484.tar.gz scummvm-rg350-70a04c8b51af66fcc30b5b22fad224d0f145a484.tar.bz2 scummvm-rg350-70a04c8b51af66fcc30b5b22fad224d0f145a484.zip |
SCI: Made vocab_version static again (a global static var is bad, but a really global var is worse); also clarified some FIXME comments that we want to avoid *any* non-const global var, no matter whether it is static or not
svn-id: r41045
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r-- | engines/sci/gfx/operations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp index 46f0bb4332..509ddbae5a 100644 --- a/engines/sci/gfx/operations.cpp +++ b/engines/sci/gfx/operations.cpp @@ -1382,7 +1382,7 @@ static int _gfxop_numlockify(int c) { } static sci_event_t scummvm_get_event(gfx_driver_t *drv) { - static int _modifierStates = 0; // FIXME: EVIL HACK + static int _modifierStates = 0; // FIXME: Avoid non-cpnst global vars sci_event_t input = { SCI_EVT_NONE, 0, 0, 0 }; Common::EventManager *em = g_system->getEventManager(); |