| 1 |
Index: lincity-1.13.1/splash.c |
| 2 |
=================================================================== |
| 3 |
--- lincity-1.13.1.orig/splash.c 2012-02-04 22:30:12.834746189 +0200 |
| 4 |
+++ lincity-1.13.1/splash.c 2012-02-05 00:42:57.334605055 +0200 |
| 5 |
@@ -164,7 +164,8 @@ |
| 6 |
si_scroll_text (void) |
| 7 |
{ |
| 8 |
char s[LC_PATH_MAX], line1[100], line2[100], line3[100], c; |
| 9 |
- int i, t, l1c = 0, l2c = 0, l3c = 0; |
| 10 |
+ int i, l1c = 0, l2c = 0, l3c = 0; |
| 11 |
+ long t; |
| 12 |
FILE *inf1, *inf2, *inf3; |
| 13 |
#ifdef LC_X11 |
| 14 |
XEvent xev; |
| 15 |
@@ -272,7 +273,7 @@ |
| 16 |
#endif |
| 17 |
while (real_time < t) |
| 18 |
{ |
| 19 |
- lc_usleep (1); |
| 20 |
+ lc_usleep(1000*(t-real_time)); |
| 21 |
get_real_time (); |
| 22 |
} |
| 23 |
} |
| 24 |
Index: lincity-1.13.1/main.c |
| 25 |
=================================================================== |
| 26 |
--- lincity-1.13.1.orig/main.c 2012-02-05 00:41:51.094606227 +0200 |
| 27 |
+++ lincity-1.13.1/main.c 2012-02-05 10:08:23.594003906 +0200 |
| 28 |
@@ -575,7 +575,7 @@ |
| 29 |
int |
| 30 |
execute_timestep (void) |
| 31 |
{ |
| 32 |
- static int next_time_step = 0; |
| 33 |
+ static long next_time_step = 0; |
| 34 |
int real_quit_flag = 0; |
| 35 |
|
| 36 |
if (market_cb_flag == 0 && help_flag == 0 |