Fixed a few errors from the previous revision, and nuked some of the compiler errors.

git-svn-id: http://openexile.googlecode.com/svn/trunk@46 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-04-30 04:21:24 +00:00
parent c7f9c17130
commit 27b95287bc
81 changed files with 347 additions and 338 deletions

View File

@@ -808,17 +808,17 @@ void draw_pc_effects(short pc)
void print_party_stats() {
add_string_to_buf("PARTY STATS:");
sprintf((char *) store_string, " Number of kills: %ld ", univ.party.total_m_killed);
sprintf((char *) store_string, " Number of kills: %lld ", univ.party.total_m_killed);
add_string_to_buf((char *) store_string);
if ((is_town()) || ((is_combat()) && (which_combat_type == 1))) {
sprintf((char *) store_string, " Kills in this town: %d ", univ.party.m_killed[univ.town.num]);
add_string_to_buf((char *) store_string);
}
sprintf((char *) store_string, " Total experience: %ld ", univ.party.total_xp_gained);
sprintf((char *) store_string, " Total experience: %lld ", univ.party.total_xp_gained);
add_string_to_buf((char *) store_string);
sprintf((char *) store_string, " Total damage done: %ld ", univ.party.total_dam_done);
sprintf((char *) store_string, " Total damage done: %lld ", univ.party.total_dam_done);
add_string_to_buf((char *) store_string);
sprintf((char *) store_string, " Total damage taken: %ld ", univ.party.total_dam_taken);
sprintf((char *) store_string, " Total damage taken: %lld ", univ.party.total_dam_taken);
add_string_to_buf((char *) store_string);
print_buf();
}
@@ -1706,4 +1706,4 @@ bool day_reached(unsigned char which_day, unsigned char which_event)
if (calc_day() >= which_day)
return true;
else return false;
}
}