diff options
author | Aki <please@ignore.pl> | 2022-10-14 23:52:53 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-10-14 23:52:53 +0200 |
commit | 58581f2ac25b68b6dd08b2336514f679af40fb64 (patch) | |
tree | 803e5377a977933bdb85dba9004ea6f4cfe01101 /StarsEx/ContentBundle.h | |
parent | c9cad4935e1fa1358ca443237f25c1308f66c90a (diff) | |
download | starshatter-58581f2ac25b68b6dd08b2336514f679af40fb64.zip starshatter-58581f2ac25b68b6dd08b2336514f679af40fb64.tar.gz starshatter-58581f2ac25b68b6dd08b2336514f679af40fb64.tar.bz2 |
Fixed ContentBundle loading locale at init
Diffstat (limited to 'StarsEx/ContentBundle.h')
-rw-r--r-- | StarsEx/ContentBundle.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/StarsEx/ContentBundle.h b/StarsEx/ContentBundle.h index ffcc7e1..da2fb0d 100644 --- a/StarsEx/ContentBundle.h +++ b/StarsEx/ContentBundle.h @@ -28,8 +28,7 @@ public: static ContentBundle* GetInstance(); - ContentBundle(); - ContentBundle(const char* bundle, Locale* locale); + explicit ContentBundle(Locale* locale=nullptr); virtual ~ContentBundle(); bool Init(); |