Awesome loadscreen for ra; crashfixes

This commit is contained in:
Paul Chote
2010-08-25 01:27:52 +12:00
parent 08a60ca336
commit b17e6900ec
7 changed files with 37 additions and 5 deletions

View File

@@ -45,6 +45,7 @@ namespace OpenRA.Graphics
static void LoadSequencesForCursor(XmlElement eCursor)
{
Viewport.DrawLoadScreen();
string cursorSrc = eCursor.GetAttribute("src");
string palette = eCursor.GetAttribute("palette");
@@ -55,6 +56,7 @@ namespace OpenRA.Graphics
static void LoadSequencesForUnit(XmlElement eUnit)
{
Viewport.DrawLoadScreen();
string unitName = eUnit.GetAttribute("name");
try {
var sequences = eUnit.SelectNodes("./sequence").OfType<XmlElement>()