signs.c
changeset 1328 eacd8225ed42
parent 1283 85b520ad7266
child 1404 28fa5e4ce5e9
equal deleted inserted replaced
1327:6e507eb10edd 1328:eacd8225ed42
   130 	SignStruct *ss;
   130 	SignStruct *ss;
   131 
   131 
   132 	/* If GetDParam(0) == nothing, we delete the sign */
   132 	/* If GetDParam(0) == nothing, we delete the sign */
   133 	if (GetDParam(0) != 0 && owner != OWNER_NONE) {
   133 	if (GetDParam(0) != 0 && owner != OWNER_NONE) {
   134 		/* Create the name */
   134 		/* Create the name */
   135 		str = AllocateName((byte*)_decode_parameters, 0);
   135 		str = AllocateName((const char*)_decode_parameters, 0);
   136 		if (str == 0)
   136 		if (str == 0)
   137 			return CMD_ERROR;
   137 			return CMD_ERROR;
   138 
   138 
   139 		if (flags & DC_EXEC) {
   139 		if (flags & DC_EXEC) {
   140 			ss = GetSign(sign_id);
   140 			ss = GetSign(sign_id);