From 1138286e8b2c50d9bacd6c0235a82cf7b0d113c2 Mon Sep 17 00:00:00 2001 From: avolkov Date: Wed, 7 Dec 2005 16:50:04 +0000 Subject: [PATCH] Indexing in the resources added after the ndx was originally created git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2037 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/planets/planets.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sc2/src/sc2code/planets/planets.c b/sc2/src/sc2code/planets/planets.c index 134724ed6..109fb2cd7 100644 --- a/sc2/src/sc2code/planets/planets.c +++ b/sc2/src/sc2code/planets/planets.c @@ -22,6 +22,7 @@ #include "setup.h" #include "uqmdebug.h" #include "libs/graphics/gfx_common.h" +#include "resinst.h" extern void DrawPlanet (int x, int y, int dy, unsigned int rgb); @@ -93,7 +94,7 @@ DrawOrbitalDisplay (DRAW_ORBITAL_MODE Mode) STAMP s; s.frame = CaptureDrawable ( - LoadCelFile ("ipanims/orbenter.ani")); + LoadGraphic (ORBENTER_PMAP_ANIM)); s.origin.x = -SAFE_X; s.origin.y = SIS_SCREEN_HEIGHT - MAP_HEIGHT; DrawStamp (&s);