diff options
-rw-r--r-- | The Mana World.dev | 2 | ||||
-rw-r--r-- | src/graphic/graphic.cpp | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/The Mana World.dev b/The Mana World.dev index 8ee24b39..319789b2 100644 --- a/The Mana World.dev +++ b/The Mana World.dev @@ -33,7 +33,7 @@ CompilerSettings=0010001001001000001101 Major=0 Minor=0 Release=8 -Build=591 +Build=595 LanguageID=1033 CharsetID=1252 CompanyName=The Mana World Development Team diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index d7babb44..401e9bc9 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -252,10 +252,7 @@ void init_graphic() { #ifdef WIN32 } #endif - vtileset = load_graphic_file("./data/graphic/tileset.bmp"); - vnpcset = load_graphic_file("./data/graphic/npcset.bmp"); - vplayerset = load_graphic_file("./data/graphic/playerset.bmp"); - vmonsterset = load_graphic_file("./data/graphic/monsterset.bmp"); + gui_bitmap = vpage[page_num]; @@ -344,9 +341,9 @@ new_tileset->spriteset[0]->draw(vbuffer, 0, 0); int r_y = node->text_y-get_y_offset(node); if(node->action==MONSTER_DEAD) - new_monsterset->spriteset[(get_direction(node->coordinates)/2)+4*(node->job-1002)+16*MONSTER_DEAD]->draw(vbuffer, node->text_x, node->text_y); + new_monsterset->spriteset[(get_direction(node->coordinates)/2)+4*(node->job-1002)+8*MONSTER_DEAD]->draw(vbuffer, node->text_x, node->text_y); else - new_monsterset->spriteset[(get_direction(node->coordinates)/2)+4*(node->job-1002)+16*(node->frame+node->action)]->draw(vbuffer, node->text_x, node->text_y); + new_monsterset->spriteset[(get_direction(node->coordinates)/2)+4*(node->job-1002)+8*(node->frame+node->action)]->draw(vbuffer, node->text_x, node->text_y); if(node->action!=STAND) { node->frame = (get_elapsed_time(node->tick_time)*4)/(node->speed); |