Explorar el Código

Notification fix

Ivan Barsukov hace 1 año
padre
commit
fd886931de
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/game_notifications.c

+ 1 - 1
src/game_notifications.c

@@ -80,7 +80,7 @@ game_notify(GameContext* game_context, const NotificationSequence* sequence)
         ++result_index;
     }
 
-    for (size_t index = result_index; index < sizeof(notification); ++index) {
+    for (size_t index = result_index; index < 30; ++index) {
         notification[index] = NULL;
     }