Fixes the release build
This commit is contained in:
parent
a350f66290
commit
5efef180a5
|
@ -197,6 +197,7 @@ if (NOT CMAKE_BUILD_TYPE MATCHES Debug)
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/assets/Items"
|
"${CMAKE_CURRENT_SOURCE_DIR}/assets/Items"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/assets/Objects"
|
"${CMAKE_CURRENT_SOURCE_DIR}/assets/Objects"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/assets/Sounds"
|
"${CMAKE_CURRENT_SOURCE_DIR}/assets/Sounds"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/assets/Extras"
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/assets
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/assets
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
3
src/db.c
3
src/db.c
|
@ -34,8 +34,7 @@ db_execute_stmnt(const char *stmnt,
|
||||||
|
|
||||||
void db_close(sqlite3 **db)
|
void db_close(sqlite3 **db)
|
||||||
{
|
{
|
||||||
const char *fname = sqlite3_db_filename(*db, NULL);
|
debug("Closing db: %s", sqlite3_db_filename(*db, NULL));
|
||||||
debug("Closing db: %s", fname);
|
|
||||||
sqlite3_close(*db);
|
sqlite3_close(*db);
|
||||||
*db = NULL;
|
*db = NULL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,8 +53,7 @@ int l_create_map(lua_State *L)
|
||||||
static int
|
static int
|
||||||
l_print_info(lua_State *L)
|
l_print_info(lua_State *L)
|
||||||
{
|
{
|
||||||
const char *str = luaL_checkstring(L, 1);
|
debug(luaL_checkstring(L, 1));
|
||||||
debug(str);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue