fixed null return from board_init()
authormatthew <matthew@owens.tech>
Sun, 29 Jul 2018 19:15:09 +0000 (19:15 +0000)
committermatthew <matthew@owens.tech>
Sun, 29 Jul 2018 19:15:09 +0000 (19:15 +0000)
common/board.c

index 0ca4510..56c8ef7 100644 (file)
@@ -23,6 +23,7 @@ Board *board_init(int sizex, int sizey)
                }
        }
 
+       ret = (Board *) b;
        return ret;
 }