diff options
| author | Max Horn | 2004-12-05 17:42:20 +0000 | 
|---|---|---|
| committer | Max Horn | 2004-12-05 17:42:20 +0000 | 
| commit | f09293b22cdec7d8b309baea0a58e93757c77913 (patch) | |
| tree | 24a0814b173e6607e88d8e71163bcbc9d9d340ac /sky/control.cpp | |
| parent | 8d4fcb1689a4c80fa9ef3ec84194fa791bd2c00e (diff) | |
| download | scummvm-rg350-f09293b22cdec7d8b309baea0a58e93757c77913.tar.gz scummvm-rg350-f09293b22cdec7d8b309baea0a58e93757c77913.tar.bz2 scummvm-rg350-f09293b22cdec7d8b309baea0a58e93757c77913.zip  | |
Clean up OSystem::Event
svn-id: r15990
Diffstat (limited to 'sky/control.cpp')
| -rw-r--r-- | sky/control.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/control.cpp b/sky/control.cpp index 9e5839ddd3..6789afca68 100644 --- a/sky/control.cpp +++ b/sky/control.cpp @@ -1686,7 +1686,7 @@ void Control::delay(unsigned int amount) {  	do {  		while (_system->pollEvent(event)) { -			switch (event.event_code) { +			switch (event.type) {  			case OSystem::EVENT_KEYDOWN:  				// Make sure backspace works right (this fixes a small issue on OS X)  				if (event.kbd.keycode == 8)  | 
