[Oct 09 2008] - Rumble
Fixed a small bug in hedit. If CIRCLE_UNSIGNED_INDEX is 0, then new entries wo n't save correctly. (thanks Rhade) Code cleanup of check_idling. (thanks Rhade)
This commit is contained in:
@@ -35,10 +35,17 @@ export (QQ's a zone into a tarball)t
|
|||||||
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
||||||
(lots of major bugfixes too)
|
(lots of major bugfixes too)
|
||||||
@
|
@
|
||||||
|
[Oct 09 2008] - Rumble
|
||||||
|
Fixed a small bug in hedit. If CIRCLE_UNSIGNED_INDEX is 0, then new entries wo
|
||||||
|
n't save correctly. (thanks Rhade)
|
||||||
|
Code cleanup of check_idling. (thanks Rhade)
|
||||||
[Sep 01 2008] - Fizban
|
[Sep 01 2008] - Fizban
|
||||||
Added a check to mzoneecho to stop mortals from using it.
|
Added a check to mzoneecho to stop mortals from using it.
|
||||||
[Aug 31 2008] - Fizban
|
[Aug 31 2008] - Fizban
|
||||||
Removed various mid-function defines of variables.
|
Removed various mid-function defines of variables.
|
||||||
|
[Oct 09 2008] - Rumble
|
||||||
|
Fixed a small bug in hedit. If CIRCLE_UNSIGNED_INDEX is 0, then new entries won't save correctly. (thanks Rhade)
|
||||||
|
Code cleanup of check_idling. (thanks Rhade)
|
||||||
[Aug 27 2008] - Rumble
|
[Aug 27 2008] - Rumble
|
||||||
Fixed Mob using '((c)->player_specials->saved.pref)' at dg_variables.c:860
|
Fixed Mob using '((c)->player_specials->saved.pref)' at dg_variables.c:860
|
||||||
tbaMUD-3.57
|
tbaMUD-3.57
|
||||||
|
|||||||
@@ -4,9 +4,6 @@
|
|||||||
* Author: Steve Wolfe, Scott Meisenholder, Rhade *
|
* Author: Steve Wolfe, Scott Meisenholder, Rhade *
|
||||||
* *
|
* *
|
||||||
* All rights reserved. See license.doc for complete information. *
|
* All rights reserved. See license.doc for complete information. *
|
||||||
* *
|
|
||||||
* Copyright (C) 2007 by Rhade *
|
|
||||||
* InfoTechMUD is based on CircleMUD, Copyright (C) 1993, 1994. *
|
|
||||||
* CircleMUD is based on DikuMUD, Copyright (C) 1990, 1991. *
|
* CircleMUD is based on DikuMUD, Copyright (C) 1990, 1991. *
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
@@ -128,7 +125,7 @@ static void hedit_save_internally(struct descriptor_data *d)
|
|||||||
{
|
{
|
||||||
struct help_index_element *new_help_table = NULL;
|
struct help_index_element *new_help_table = NULL;
|
||||||
|
|
||||||
if (OLC_ZNUM(d) > top_of_helpt) {
|
if (OLC_ZNUM(d) == NOWHERE) {
|
||||||
int i;
|
int i;
|
||||||
CREATE(new_help_table, struct help_index_element, top_of_helpt + 2);
|
CREATE(new_help_table, struct help_index_element, top_of_helpt + 2);
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
*
|
*
|
||||||
* Author: Steve Wolfe, Scott Meisenholder, Rhade
|
* Author: Steve Wolfe, Scott Meisenholder, Rhade
|
||||||
* All rights reserved. See license.doc for complete information.
|
* All rights reserved. See license.doc for complete information.
|
||||||
* Copyright (C) 2007 by Rhade
|
|
||||||
* InfoTechMUD is based on CircleMUD, Copyright (C) 1993, 1994.
|
|
||||||
* CircleMUD is based on DikuMUD, Copyright (C) 1990, 1991.
|
* CircleMUD is based on DikuMUD, Copyright (C) 1990, 1991.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -328,7 +328,7 @@ void gain_condition(struct char_data *ch, int condition, int value)
|
|||||||
|
|
||||||
static void check_idling(struct char_data *ch)
|
static void check_idling(struct char_data *ch)
|
||||||
{
|
{
|
||||||
if (++(ch->char_specials.timer) > CONFIG_IDLE_VOID) {
|
if (ch->char_specials.timer > CONFIG_IDLE_VOID) {
|
||||||
if (GET_WAS_IN(ch) == NOWHERE && IN_ROOM(ch) != NOWHERE) {
|
if (GET_WAS_IN(ch) == NOWHERE && IN_ROOM(ch) != NOWHERE) {
|
||||||
GET_WAS_IN(ch) = IN_ROOM(ch);
|
GET_WAS_IN(ch) = IN_ROOM(ch);
|
||||||
if (FIGHTING(ch)) {
|
if (FIGHTING(ch)) {
|
||||||
@@ -397,10 +397,9 @@ void point_update(void)
|
|||||||
}
|
}
|
||||||
if (!IS_NPC(i)) {
|
if (!IS_NPC(i)) {
|
||||||
update_char_objects(i);
|
update_char_objects(i);
|
||||||
|
i->char_specials.timer++;
|
||||||
if (GET_LEVEL(i) < CONFIG_IDLE_MAX_LEVEL)
|
if (GET_LEVEL(i) < CONFIG_IDLE_MAX_LEVEL)
|
||||||
check_idling(i);
|
check_idling(i);
|
||||||
else
|
|
||||||
(i->char_specials.timer)++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user