aboutsummaryrefslogtreecommitdiff
path: root/src/path_functions.cpp
diff options
context:
space:
mode:
authorTrickyLeifa <date.epoch@gmail.com>2024-05-17 16:39:30 +0200
committerTrickyLeifa <date.epoch@gmail.com>2024-05-17 19:04:57 +0200
commit1ef96383c8f7ed136a0e028aef0835b4838b5e95 (patch)
treee87a9df097a50b4d1f918f8a4f37d210562d10d6 /src/path_functions.cpp
parent39e4354b1dae5d8487ea5b84be9f304b1950a61a (diff)
Lightly reworked `NetworkManager`, ...
* Lightly reworked `NetworkManager` * Added new modules to handle various connection types. * TCP * WebSocket * Added general string splitter alias based on Qt version. * Replaced `lobby_constructed` and `courtroom_constructed` * Refactored and partially reimplemented the following classes: * `AOBlipPlayer` * `AOEmotePreview` * `AOMusicPlayer` * `AOSfxPlayer` * `AOTextArea`
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);
}