add support for PC NTE

This commit is contained in:
Martin Michelsen
2023-12-17 23:31:19 -08:00
parent a6c4217875
commit 3f9cad1ca5
30 changed files with 1688 additions and 1527 deletions
+1 -1
View File
@@ -652,7 +652,7 @@ void PlayerInventory::encode_for_client(shared_ptr<Client> c) {
this->hp_from_materials = 0;
this->tp_from_materials = 0;
this->language = 0;
} else if (c->version() != Version::PC_V2) {
} else if ((c->version() != Version::PC_NTE) && (c->version() != Version::PC_V2)) {
if (this->language > 4) {
this->language = 0;
}