shithub: choc

Download patch

ref: 9cc55c7f015836cfb7172d9be4c93b52597df8e1
parent: 6fb9d62d1424b81fa18476b56090034812defa0e
author: Simon Howard <fraggle@soulsphere.org>
date: Mon Nov 9 18:31:31 EST 2015

Fix warning due to mismatched enum types.

disk_indicator is a disk_indicator_e, not a boolean.

--- a/src/v_diskicon.c
+++ b/src/v_diskicon.c
@@ -32,7 +32,7 @@
 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)
 {