[Jun 14 2008] - Rumble

Made immortals immune to blinding.
  Fixed bug in qedit where quest completion would try to load an object with vnum NOTHING. (thanks Jamdog)
  Fixed log when builder tries to edit a zone without permission.
This commit is contained in:
Rumble
2008-06-14 02:29:33 +00:00
parent 107c3b2811
commit 36768f40bc
6 changed files with 20 additions and 15 deletions

View File

@@ -305,14 +305,14 @@ void generic_complete_quest(struct char_data *ch)
"You have been awarded %d experience points for your service.\r\n",
QST_EXP(rnum));
}
if (QST_OBJ(rnum)) {
if (real_object(QST_OBJ(rnum))) {
if ((new_obj = create_obj()) != NULL) {
new_obj = read_object((QST_OBJ(rnum)),VIRTUAL);
obj_to_char(new_obj, ch);
send_to_char(ch,
"You have been presented with %s%s for your service.\r\n",
if (QST_OBJ(rnum) && QST_OBJ(rnum) != NOTHING) {
if (real_object(QST_OBJ(rnum)) != NOTHING) {
if ((new_obj = create_obj()) != NULL) {
if ((new_obj = read_object((QST_OBJ(rnum)),VIRTUAL)) != NULL) {
obj_to_char(new_obj, ch);
send_to_char(ch, "You have been presented with %s%s for your service.\r\n",
GET_OBJ_SHORT(new_obj), CCNRM(ch, C_NRM));
}
}
}
}