compilation bit
gcc whined about taking the address of a register variable
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ STATIC_OVL
|
|||||||
void
|
void
|
||||||
dowaterdemon() /* Water demon */
|
dowaterdemon() /* Water demon */
|
||||||
{
|
{
|
||||||
register struct monst *mtmp;
|
struct monst *mtmp;
|
||||||
|
|
||||||
if(!(mvitals[PM_WATER_DEMON].mvflags & G_GONE)) {
|
if(!(mvitals[PM_WATER_DEMON].mvflags & G_GONE)) {
|
||||||
if((mtmp = makemon(&mons[PM_WATER_DEMON],u.ux,u.uy, NO_MM_FLAGS))) {
|
if((mtmp = makemon(&mons[PM_WATER_DEMON],u.ux,u.uy, NO_MM_FLAGS))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user