summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-01-12 18:55:33 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-01-12 18:55:33 +0000
commitde4a2ac89c4bed6a5adffd0b926a70c6491a0c9b (patch)
tree93dc2b608f97cdac342c11cb0e868f159bad0a8d /src/game.cpp
parenta10d5d5718dc01792b384532870a965f07ab4af8 (diff)
downloadmana-de4a2ac89c4bed6a5adffd0b926a70c6491a0c9b.tar.gz
mana-de4a2ac89c4bed6a5adffd0b926a70c6491a0c9b.tar.bz2
mana-de4a2ac89c4bed6a5adffd0b926a70c6491a0c9b.tar.xz
mana-de4a2ac89c4bed6a5adffd0b926a70c6491a0c9b.zip
*** empty log message ***
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 4aed4893..3a0f5c80 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -630,9 +630,6 @@ void do_parse() {
case 0x0008:
char_info->max_sp = RFIFOW(4);
break;
- case 0x0009:
- char_info->statsPointsToAttribute = RFIFOW(4);
- break;
case 0x000b:
char_info->lv = RFIFOW(4);
break;
@@ -640,15 +637,12 @@ void do_parse() {
char_info->skill_point = RFIFOW(4);
skillDialog->setPoints(char_info->skill_point);
break;
- case 0x0016:
- char_info->xpForNextLevel = RFIFOW(4);
- break;
- case 0x0017:
- char_info->jobXpForNextLevel = RFIFOW(4);
- break;
case 0x0037:
char_info->job_lv = RFIFOW(4);
break;
+ case 0x0009:
+ char_info->statsPointsToAttribute = RFIFOL(4);
+ break;
}
statusWindow->update();
if(char_info->hp==0) {
@@ -735,6 +729,13 @@ void do_parse() {
char_info->gp = RFIFOL(4);
break;
// case 16 and 17 missing
+
+ case 0x0016:
+ char_info->xpForNextLevel = RFIFOL(4);
+ break;
+ case 0x0017:
+ char_info->jobXpForNextLevel = RFIFOL(4);
+ break;
}
break;
// Level up