From 4beecdc81b52479cac80d2b30a5c48e59ab95867 Mon Sep 17 00:00:00 2001 From: ulukyn Date: Wed, 8 Aug 2018 15:41:10 +0200 Subject: [PATCH] Eapply: CTypeVersion incremented for sitem and item (because the client don't crash again and i found why ) --HG-- branch : patches-from-atys --- code/ryzom/client/src/sheet_manager.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/sheet_manager.cpp b/code/ryzom/client/src/sheet_manager.cpp index 1c7f1f5ca..db5c5ef35 100644 --- a/code/ryzom/client/src/sheet_manager.cpp +++ b/code/ryzom/client/src/sheet_manager.cpp @@ -93,14 +93,16 @@ public: CTypeVersion(std::string type, uint version) {Type=type; Version=version;} }; +// if you change these values please rebuild the packed_sheets with an updated sheets_packer binary. +// This is the only way to have correct version in both client and packed_sheets CTypeVersion TypeVersion [] = { CTypeVersion("creature", 17), // CTypeVersion("player", 0), CTypeVersion("fx", 0), CTypeVersion("building", 2), - CTypeVersion("sitem", 42), - CTypeVersion("item", 42), + CTypeVersion("sitem", 43), + CTypeVersion("item", 43), CTypeVersion("plant", 5), CTypeVersion("death_impact", 0), // CTypeVersion("mission", 0),