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
This commit is contained in:
parent
539094d5a8
commit
70a04c8b51
7 changed files with 10 additions and 10 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue