diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-15 19:08:49 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-15 19:08:49 +0000 |
commit | 13f82f10d92816d0239db56b7936fd2403f50897 (patch) | |
tree | 8609c90794dc8bcba1f613c6cac9907e7e58d4e4 /src/game.cpp | |
parent | 8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1 (diff) | |
download | mana-13f82f10d92816d0239db56b7936fd2403f50897.tar.gz mana-13f82f10d92816d0239db56b7936fd2403f50897.tar.bz2 mana-13f82f10d92816d0239db56b7936fd2403f50897.tar.xz mana-13f82f10d92816d0239db56b7936fd2403f50897.zip |
Fixed upping skills.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp index 142cfbe2..b38f1368 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -890,13 +890,13 @@ void do_parse() { RFIFOB(4 + k * 37 + 36)!=0) { int skillId = RFIFOW(4 + k * 37); - if (skillDialog->getModel()->hasSkill(skillId)) { - skillDialog->getModel()->setSkill(skillId, + if (skillDialog->hasSkill(skillId)) { + skillDialog->setSkill(skillId, RFIFOW(4 + k * 37 + 6), RFIFOW(4 + k * 37 + 36)); } else { - skillDialog->getModel()->addSkill( + skillDialog->addSkill( RFIFOW(4 + k * 37), RFIFOW(4 + k * 37 + 6), RFIFOW(4 + k * 37 + 8)); |