Fixed bug 7977 as in rAthena revf488861298d50afb41f8418700ae164e63bee070
Fixed bug 7980