aboutsummaryrefslogtreecommitdiff
path: root/src/path_functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/path_functions.cpp')
-rw-r--r--src/path_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path_functions.cpp b/src/path_functions.cpp
index 7953d921..d68535c4 100644
--- a/src/path_functions.cpp
+++ b/src/path_functions.cpp
@@ -66,7 +66,7 @@ VPath AOApplication::get_music_path(QString p_song)
VPath AOApplication::get_background_path(QString p_file)
{
- if (courtroom_constructed)
+ if (is_courtroom_constructed())
{
return VPath("background/" + w_courtroom->get_current_background() + "/" + p_file);
}