foxygit / doom Log in
commit 9cc55c7f015836cfb7172d9be4c93b52597df8e1
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Mon Nov 9 23:31:31 2015 -0500
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Mon Nov 9 23:31:31 2015 -0500

    Fix warning due to mismatched enum types.

    disk_indicator is a disk_indicator_e, not a boolean.
---
 src/v_diskicon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/v_diskicon.c b/src/v_diskicon.c
index e2541dc0..92d1eea1 100644
--- a/src/v_diskicon.c
+++ b/src/v_diskicon.c
@@ -32,7 +32,7 @@ static patch_t *disk;
 static int loading_disk_xoffs = 0;
 static int loading_disk_yoffs = 0;

-disk_indicator_e disk_indicator = false;
+disk_indicator_e disk_indicator = disk_off;

 void V_EnableLoadingDisk(int xoffs, int yoffs)
 {