mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-23 07:44:07 +01:00
[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:
parent
107c3b2811
commit
36768f40bc
6 changed files with 20 additions and 15 deletions
14
src/quest.c
14
src/quest.c
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue