From e0999f1bc7e43de4161476365cda71867a4f552b Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 6 Jun 2011 09:46:17 +0000 Subject: Make starfield rotate ships in both directions. --- xd.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'xd.c') diff --git a/xd.c b/xd.c index 167e43b..7246c5c 100644 --- a/xd.c +++ b/xd.c @@ -2083,14 +2083,26 @@ static void StarDemo(void) star[f].origin.z-=20*speed; if (star[f].col) + { star[f].col--; + } } } for(f=0;f