Fix dat loading issue with 10.00 & minor outfit window fix.

This commit is contained in:
BenDol
2014-12-30 17:27:53 +13:00
parent 7f3f18f991
commit 16f6a0019c
4 changed files with 13 additions and 19 deletions

View File

@@ -58,7 +58,7 @@ void ThingType::serialize(const FileStreamPtr& fin)
attr = ThingAttrWritable;
else if(attr >= ThingAttrWritable)
attr += 1;
} else if(g_game.getClientVersion() >= 1010) {
} else if(g_game.getClientVersion() >= 1000) {
if(attr == ThingAttrNoMoveAnimation)
attr = 16;
else if(attr >= ThingAttrPickupable)
@@ -153,7 +153,7 @@ void ThingType::unserialize(uint16 clientId, ThingCategory category, const FileS
break;
}
if(g_game.getClientVersion() >= 1010) {
if(g_game.getClientVersion() >= 1000) {
/* In 10.10+ all attributes from 16 and up were
* incremented by 1 to make space for 16 as
* "No Movement Animation" flag.