In specprocs.c, around line 309, the stock code has:
if (!move) {
if (time_info.hours == 6) {
move = TRUE;
path = open_path;
index = 0;
} else if (time_info.hours == 20) {
move = TRUE;
path = close_path;
index = 0;
}
}
Wouldn't it be easier to change that to:
if (!move) {
index = 0;
if (time_info.hours == 6) {
move = TRUE;
path = open_path;
} else if (time_info.hours == 20) {
move = TRUE;
path = close_path;
}
}
?
That would only save 1 line, and would probably not make a big change in
time. Or is there some reason I'm missing to keep two 'index = 0;'s
around?
-Axiem
-axiem@swbell.net
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST