diff --git a/src/game_logic/fen_strings.c b/src/game_logic/fen_strings.c index 212a3ae..b55d45c 100644 --- a/src/game_logic/fen_strings.c +++ b/src/game_logic/fen_strings.c @@ -79,7 +79,7 @@ char * fen_string_get_state(void) } } } - fen_append('/'); + if (row != 7) fen_append('/'); } fen_append(' '); if (state->player_turn) { diff --git a/src/pc_app/game.cpp b/src/pc_app/game.cpp index 0e17d15..8096788 100644 --- a/src/pc_app/game.cpp +++ b/src/pc_app/game.cpp @@ -107,7 +107,3 @@ int begin_game(SDL_Renderer *renderer, SDL_Window *win) } return 0; } -//g++ main.cpp -o blah `sdl2-config --cflags --libs` -/* -g++ main.cpp -IC:\Users\Daniel\Documents\Projects\i686-w64-mingw32\include\SDL2 -LC:\Users\Daniel\Documents\Projects\i686-w64-mingw32\lib -w -Wl,-subsystem,windows -lmingw32 -lSDL2main -lSDL2 -o SDLMain -*/ diff --git a/src/pc_app/main.cpp b/src/pc_app/main.cpp index 35229e6..b87b4df 100644 --- a/src/pc_app/main.cpp +++ b/src/pc_app/main.cpp @@ -47,7 +47,3 @@ int main( int argc, const char* argv[] ) SDL_DestroyWindow(win); return 0; } -//g++ main.cpp -o blah `sdl2-config --cflags --libs` -/* -g++ main.cpp -IC:\Users\Daniel\Documents\Projects\i686-w64-mingw32\include\SDL2 -LC:\Users\Daniel\Documents\Projects\i686-w64-mingw32\lib -w -Wl,-subsystem,windows -lmingw32 -lSDL2main -lSDL2 -o SDLMain -*/