mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-01 02:20:17 +01:00
[Jan 24 2009] - Rumble
Fixed command queue cancelling "--" from cancelling the next command. (thanks Fren ze/Ogdin) Fixed object timer values from not saving. (thanks Stoneheart) Fixed latest GCC warnings in the /utils. (thanks Jamdog) Fixed violent area spells so they would not harm group members. (thanks Nhilar) Changed usage of qm->nr to GET_MOB_VNUM(qm). (thanks Tails)
This commit is contained in:
parent
b458c58878
commit
c9c7ed9e7a
11 changed files with 41 additions and 26 deletions
|
|
@ -481,7 +481,7 @@ void quest_join(struct char_data *ch, struct char_data *qm, char argument[MAX_IN
|
|||
else if (GET_QUEST(ch) != NOTHING)
|
||||
snprintf(buf, sizeof(buf),
|
||||
"%s But you are already part of a quest!", GET_NAME(ch));
|
||||
else if((vnum = find_quest_by_qmnum(ch, qm->nr, atoi(argument))) == NOTHING)
|
||||
else if((vnum = find_quest_by_qmnum(ch, GET_MOB_VNUM(qm), atoi(argument))) == NOTHING)
|
||||
snprintf(buf, sizeof(buf),
|
||||
"%s I don't know of such a quest!", GET_NAME(ch));
|
||||
else if ((rnum = real_quest(vnum)) == NOTHING)
|
||||
|
|
@ -532,7 +532,7 @@ void quest_list(struct char_data *ch, struct char_data *qm, char argument[MAX_IN
|
|||
qst_vnum vnum;
|
||||
qst_rnum rnum;
|
||||
|
||||
if ((vnum = find_quest_by_qmnum(ch, qm->nr, atoi(argument))) == NOTHING)
|
||||
if ((vnum = find_quest_by_qmnum(ch, GET_MOB_VNUM(qm), atoi(argument))) == NOTHING)
|
||||
send_to_char(ch, "That is not a valid quest!\r\n");
|
||||
else if ((rnum = real_quest(vnum)) == NOTHING)
|
||||
send_to_char(ch, "That is not a valid quest!\r\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue