Re: Transportation devices

From: Phillip A. Ames (kirk47@JUNO.COM)
Date: 08/16/98


Yay, more messages!  With help from Kieran Sobel, I changed the
GET_ROOM_VNUM line to be GET_ROOM_VNUM(ch->in_room); and now this is
happening...  I took out the parentheses dak told me to, and replaced the
char_to_room(ch, beamup_room) with the lines he had written, and I think
most of these errors are the same from last time.  Any clues?

-Phillip

Line:
struct obj_data * me, * vehicle;
Error:
c:\Circle\src\vehicles.c(379) : error C2082: redefinition of formal
parameter 'me'

Line:
vehicle = find_vehicle_by_vnum(GET_OBJ_VAL(comm_badge, 0) );
Errors:
c:\Circle\src\vehicles.c(385) : error C2223: left of '->obj_flags' must
point to struct/union
c:\Circle\src\vehicles.c(385) : error C2198: 'find_vehicle_by_vnum' : too
few actual parameters

Line:
if ( GET_OBJ_VAL(comm_badge, 2)  ==  0){
Error:
c:\Circle\src\vehicles.c(390) : error C2223: left of '->obj_flags' must
point to struct/union

Line:
if ( GET_OBJ_VAL(comm_badge, 2) != 0){
Error:
c:\Circle\src\vehicles.c(395) : error C2223: left of '->obj_flags' must
point to struct/union

Line:
beamup_room = GET_OBJ_VAL(comm_badge, 1);
Error:
c:\Circle\src\vehicles.c(401) : error C2223: left of '->obj_flags' must
point to struct/union

Line:
GET_OBJ_VAL(comm_badge, 2) += beamdown_room;
Error:
c:\Circle\src\vehicles.c(402) : error C2223: left of '->obj_flags' must
point to struct/union

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST