summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-28 00:18:59 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-28 00:18:59 +0000
commit4525bedabcf5796da0d7923a014bbdc18fee429e (patch)
tree81e2ac034886fffcb3b9d17699a57dbe87d37aa0 /src/game.cpp
parent30063f42cc8d13ed241a52b90e63c2c68599115e (diff)
downloadmana-4525bedabcf5796da0d7923a014bbdc18fee429e.tar.gz
mana-4525bedabcf5796da0d7923a014bbdc18fee429e.tar.bz2
mana-4525bedabcf5796da0d7923a014bbdc18fee429e.tar.xz
mana-4525bedabcf5796da0d7923a014bbdc18fee429e.zip
Applied inventory weight information patch by Javila.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 9193e821..f84775b7 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1041,6 +1041,12 @@ void do_parse()
char_info->skill_point = RFIFOW(4);
skillDialog->setPoints(char_info->skill_point);
break;
+ case 0x0018:
+ char_info->totalWeight = RFIFOW(4);
+ break;
+ case 0x0019:
+ char_info->maxWeight = RFIFOW(4);
+ break;
case 0x0037:
char_info->job_lv = RFIFOW(4);
break;