Browse Source

Here, do this.

Steve Thielemann 4 years ago
parent
commit
d3785ec05b
1 changed files with 3 additions and 2 deletions
  1. 3 2
      mystic.cpp

+ 3 - 2
mystic.cpp

@@ -948,8 +948,6 @@ void init_have_seen(int *list, int len) {
 
  */
 
-// #define MAX_HARRY_EVENT_DUPS 2
-// int last_seen_harry_event[MAX_HARRY_EVENT_DUPS];
 LastSeen last_seen_harry_event(2);
 
 #ifdef CPP_MADMAN_STL_CODE
@@ -993,10 +991,13 @@ void harry_idle_event(int fd) {
   // last_seen_harry_event[1]);
 
   cp = phrases[r];
+  int color = random() % 15 + 1;
+  /*
   int color = random() % 16;
   if (color == 0) {
     color++;
   } // If it's 0 let's make it 1.   // color = (random() % 15) + 1
+  */
 
   sprintf(buffer, "^S2^C%02d%s^P2^CR^D%02d", color, cp, (int)strlen(cp));