Added some typedefs for clarity, and also added a cAttack class.
git-svn-id: http://openexile.googlecode.com/svn/trunk@77 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -561,16 +561,16 @@ void display_monst_event_filter (short item_hit)
|
||||
|
||||
if (on_monst_menu[position] < 0)
|
||||
position = 0;
|
||||
store_m->number = (unsigned short)on_monst_menu[position];
|
||||
store_m->m_d = return_monster_template((unsigned short)on_monst_menu[position]);
|
||||
store_m->number = on_monst_menu[position];
|
||||
store_m->m_d = return_monster_template(on_monst_menu[position]);
|
||||
put_monst_info();
|
||||
break;
|
||||
case 29:
|
||||
position++;
|
||||
if (on_monst_menu[position] < 0)
|
||||
position = 0;
|
||||
store_m->number = (unsigned short)on_monst_menu[position];
|
||||
store_m->m_d = return_monster_template((unsigned short)on_monst_menu[position]);
|
||||
store_m->number = on_monst_menu[position];
|
||||
store_m->m_d = return_monster_template(on_monst_menu[position]);
|
||||
put_monst_info();
|
||||
break;
|
||||
|
||||
@@ -593,7 +593,7 @@ void display_monst(short array_pos,cCreature *which_m,short mode)
|
||||
full_roster = true;
|
||||
store_m = &hold_m;
|
||||
store_m->number = on_monst_menu[array_pos];
|
||||
store_m->m_d = return_monster_template((unsigned short)on_monst_menu[array_pos]);
|
||||
store_m->m_d = return_monster_template(on_monst_menu[array_pos]);
|
||||
}
|
||||
else {
|
||||
hold_m = *which_m;
|
||||
|
||||
Reference in New Issue
Block a user