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

@@ -185,7 +185,7 @@ namespace OpenRA.Renderer.SdlCommon
switch (e.type)
{
case Sdl.SDL_QUIT:
OpenRA.Game.Exit();
Game.Exit();
break;
case Sdl.SDL_MOUSEBUTTONDOWN:
@@ -264,7 +264,7 @@ namespace OpenRA.Renderer.SdlCommon
if (e.key.keysym.sym == Sdl.SDLK_F4 && mods.HasModifier(Modifiers.Alt) &&
Platform.CurrentPlatform == PlatformType.Windows)
{
OpenRA.Game.Exit();
Game.Exit();
}
else
inputHandler.OnKeyInput(keyEvent);