engine.c
changeset 2489 88827d8ae517
parent 2488 cbe3d6b60c27
child 2490 a0db300b6da6
--- a/engine.c	Tue Oct 04 19:52:26 2005 +0000
+++ b/engine.c	Tue Oct 04 20:38:26 2005 +0000
@@ -580,7 +580,7 @@
 			spriteset--;
 	}
 
-	r = (in_motion ? rsg->loaded[spriteset] : rsg->loading[spriteset]) + direction;
+	r = (in_motion ? rsg->loaded[spriteset]->g.result.result : rsg->loading[spriteset]->g.result.result) + direction;
 	return r;
 }