Remove some misc redundancies

This commit is contained in:
ScottNZ
2013-11-12 17:40:34 +13:00
parent 8197f29606
commit 1394c1dcee
48 changed files with 104 additions and 103 deletions

View File

@@ -47,7 +47,7 @@ namespace OpenRA.Renderer.Sdl2
switch (e.type)
{
case SDL.SDL_EventType.SDL_QUIT:
OpenRA.Game.Exit();
Game.Exit();
break;
case SDL.SDL_EventType.SDL_WINDOWEVENT:
@@ -176,7 +176,7 @@ namespace OpenRA.Renderer.Sdl2
if (e.key.keysym.sym == SDL.SDL_Keycode.SDLK_F4 && mods.HasModifier(Modifiers.Alt) &&
Platform.CurrentPlatform == PlatformType.Windows)
{
OpenRA.Game.Exit();
Game.Exit();
}
else
inputHandler.OnKeyInput(keyEvent);