shithub: choc

Download patch

ref: c7eeab6b897e21c8606461d238851891e3ef66af
parent: 2ef954743c9a491d5588e3ae28a05b0fb81c2f71
author: Turo Lamminen <[email protected]>
date: Tue May 15 16:09:21 EDT 2018

strife: Fix const correctness issue in P_DialogDoChoice

--- a/src/strife/p_dialog.c
+++ b/src/strife/p_dialog.c
@@ -1152,7 +1152,7 @@
 {
     int i = 0, nextdialog = 0;
     boolean candochoice = true;
-    char *message = NULL;
+    const char *message = NULL;
     mapdlgchoice_t *currentchoice;
 
     if(choice == -1)