diff --git a/src/game.c b/src/game.c index 36e86b3..25b94eb 100644 --- a/src/game.c +++ b/src/game.c @@ -2,8 +2,8 @@ #include "config.h" #include "map.h" -#include "npc.h" #include "mapdata.h" +#include "npc.h" #include #include diff --git a/src/inventory.h b/src/inventory.h index 44c8613..2c41b82 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -4,6 +4,4 @@ /* The structs related to the inventory are defined in game.h */ #include "game.h" - - #endif diff --git a/src/main.c b/src/main.c index 9f25dbc..986e4ea 100644 --- a/src/main.c +++ b/src/main.c @@ -120,9 +120,10 @@ int main(void) { extern char *_message_buffer; _message_buffer = NULL; _message_buffer = malloc(MESSAGE_BUFFER_SZ); - if(!_message_buffer){ - dtext(64, 64, C_BLACK, "Failed to allocate the message buffer: not " - "enough RAM available. Press any key to quit."); + if(!_message_buffer) { + dtext(64, 64, C_BLACK, + "Failed to allocate the message buffer: not " + "enough RAM available. Press any key to quit."); dupdate(); getkey(); return 0;