Skip to content

Commit

Permalink
shellmap centering
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisforbes committed Apr 30, 2010
1 parent b908250 commit 4b1f6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenRA.Mods.RA/DefaultShellmapScript.cs
Expand Up @@ -33,7 +33,7 @@ class DefaultShellmapScript: ILoadWorldHook
{
public void WorldLoaded(World w)
{
Game.MoveViewport(new int2(85,65));
Game.MoveViewport((.5f * (w.Map.TopLeft + w.Map.BottomRight).ToFloat2()).ToInt2());
Sound.PlayMusic("hell226m.aud");
}
}
Expand Down

0 comments on commit 4b1f6cf

Please sign in to comment.