From: Martin Read Date: Tue, 21 Jan 2014 18:18:07 +0000 (+0000) Subject: Moved level-gain notification to produce better message flow X-Git-Tag: printmsg-purged~27 X-Git-Url: http://git.blackswordsonics.com/?a=commitdiff_plain;h=7340edd7aff976a5a45d67376f928f541dd55697;p=victrix-abyssi Moved level-gain notification to produce better message flow --- diff --git a/u.cc b/u.cc index ea8f2a5..4e2f609 100644 --- a/u.cc +++ b/u.cc @@ -514,6 +514,7 @@ void gain_experience(int amount) if (u.experience > lev_threshold(u.level)) { u.level++; + notify_level_gain(); if (!zero_die(2)) { bodygain = gain_body(2); @@ -524,7 +525,6 @@ void gain_experience(int amount) bodygain = gain_body(1); agilgain = gain_agility(2); } - notify_level_gain(); hpgain = u.body / 10 + 10; if (u.hpmax + hpgain > 999) {