projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More boolean cleanups.
[super-star-trek.git]
/
src
/
io.c
diff --git
a/src/io.c
b/src/io.c
index 559a93dbceb127f6cff2a4cd0e39c39d016fd884..3db1c459b8d62f4a5fa3f11493ca632eb663465e 100644
(file)
--- a/
src/io.c
+++ b/
src/io.c
@@
-316,17
+316,17
@@
void commandhook(char *cmd, bool before) {
* Things past this point have policy implications.
*/
* Things past this point have policy implications.
*/
-void drawmaps(
short l
)
+void drawmaps(
int mode
)
/* hook to be called after moving to redraw maps */
{
if (game.options & OPTION_CURSES) {
/* hook to be called after moving to redraw maps */
{
if (game.options & OPTION_CURSES) {
- if (
l
== 1)
+ if (
mode
== 1)
sensor();
setwnd(srscan_window);
wmove(curwnd, 0, 0);
enqueue("no");
srscan(SCAN_FULL);
sensor();
setwnd(srscan_window);
wmove(curwnd, 0, 0);
enqueue("no");
srscan(SCAN_FULL);
- if (
l
!= 2) {
+ if (
mode
!= 2) {
setwnd(report_window);
wclear(report_window);
wmove(report_window, 0, 0);
setwnd(report_window);
wclear(report_window);
wmove(report_window, 0, 0);
@@
-429,6
+429,6
@@
void makechart(void)
if (game.options & OPTION_CURSES) {
setwnd(message_window);
wclear(message_window);
if (game.options & OPTION_CURSES) {
setwnd(message_window);
wclear(message_window);
- chart(
0
);
+ chart(
false
);
}
}
}
}