My compile is clean save for one message I get that I have no idea what it means.
act_move.c: In function `generate_exit':
act_move.c:604: warning: use of cast expressions as lvalues is deprecated
590 bxit = make_exit(room, backroom, rev_dir[vdir]);
591 bxit->keyword = STRALLOC( "" );
592 bxit->description = STRALLOC( "" );
593 bxit->key = -1;
594 if ( (serial & 65535) != orig_exit->vnum )
595 bxit->distance = roomnum;
596 else
597 {
598 EXIT_DATA *tmp = get_exit( backroom, vdir );
599 int fulldist = tmp->distance;
600
601 bxit->distance = fulldist - distance;
602 }
603 }
604 (EXIT_DATA *) pexit = xit;
605 return room;
606 }
Thats the end of generate exit.
I make lots of changes and somtimes I go for a while without recompiling them, and I have no idea what I did if anything to cause this. Any help would be much appericated.
Thanks
act_move.c: In function `generate_exit':
act_move.c:604: warning: use of cast expressions as lvalues is deprecated
590 bxit = make_exit(room, backroom, rev_dir[vdir]);
591 bxit->keyword = STRALLOC( "" );
592 bxit->description = STRALLOC( "" );
593 bxit->key = -1;
594 if ( (serial & 65535) != orig_exit->vnum )
595 bxit->distance = roomnum;
596 else
597 {
598 EXIT_DATA *tmp = get_exit( backroom, vdir );
599 int fulldist = tmp->distance;
600
601 bxit->distance = fulldist - distance;
602 }
603 }
604 (EXIT_DATA *) pexit = xit;
605 return room;
606 }
Thats the end of generate exit.
I make lots of changes and somtimes I go for a while without recompiling them, and I have no idea what I did if anything to cause this. Any help would be much appericated.
Thanks