compilation bit

gcc whined about taking the address of a register variable
This commit is contained in:
cohrs
2005-04-28 16:28:34 +00:00
parent 632afa4979
commit 50a9b78995

View File

@@ -43,7 +43,7 @@ STATIC_OVL
void
dowaterdemon() /* Water demon */
{
register struct monst *mtmp;
struct monst *mtmp;
if(!(mvitals[PM_WATER_DEMON].mvflags & G_GONE)) {
if((mtmp = makemon(&mons[PM_WATER_DEMON],u.ux,u.uy, NO_MM_FLAGS))) {