Commit 40a76a0e authored by nanahira's avatar nanahira

Merge branch 'master' into server

parents 2e729d75 b2050168
No preview for this file type
...@@ -125,6 +125,8 @@ void ClientCard::UpdateInfo(char* buf) { ...@@ -125,6 +125,8 @@ void ClientCard::UpdateInfo(char* buf) {
base_defense = BufferIO::ReadInt32(buf); base_defense = BufferIO::ReadInt32(buf);
if(flag & QUERY_REASON) if(flag & QUERY_REASON)
reason = BufferIO::ReadInt32(buf); reason = BufferIO::ReadInt32(buf);
if(flag & QUERY_REASON_CARD)
BufferIO::ReadInt32(buf);
if(flag & QUERY_EQUIP_CARD) { if(flag & QUERY_EQUIP_CARD) {
int c = BufferIO::ReadInt8(buf); int c = BufferIO::ReadInt8(buf);
int l = BufferIO::ReadInt8(buf); int l = BufferIO::ReadInt8(buf);
......
...@@ -1088,7 +1088,6 @@ void Game::RefreshSingleplay() { ...@@ -1088,7 +1088,6 @@ void Game::RefreshSingleplay() {
void Game::RefreshLocales() { void Game::RefreshLocales() {
cbLocale->clear(); cbLocale->clear();
cbLocale->addItem(L"default"); cbLocale->addItem(L"default");
cbLocale->clear();
FileSystem::TraversalDir(L"./locales", [this](const wchar_t* name, bool isdir) { FileSystem::TraversalDir(L"./locales", [this](const wchar_t* name, bool isdir) {
if(isdir && wcscmp(name, L".") && wcscmp(name, L"..")) if(isdir && wcscmp(name, L".") && wcscmp(name, L".."))
cbLocale->addItem(name); cbLocale->addItem(name);
......
Subproject commit beb61ff9ab0e46a62e6d88cd6d23da7aa55ad8e1 Subproject commit 7329a586f49de069af12f3fb1656ee6adfd3fd76
...@@ -939,3 +939,4 @@ ...@@ -939,3 +939,4 @@
!setname 0x121 魔妖 !setname 0x121 魔妖
!setname 0x122 女武神 Valkyrie !setname 0x122 女武神 Valkyrie
!setname 0x123 蔷薇龙 ローズ・ドラゴン !setname 0x123 蔷薇龙 ローズ・ドラゴン
!setname 0x124 机械天使 機械天使
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment