[Jan 05 2008] - Rumble

Fixed improper display of affections in stat player. (thanks Rhade)
[Jan 04 2008] - Rumble
  Removed the unused npc_class_types.
  Fix to affect_update and affect_join. (thanks Kyle and Jamdog)
[ 2007] - Rumble
  Removed the clsolc command. This option can still be set via "toggle clsolc."
[Jan 03 2007] - Rumble
  PLR_NOWIZLIST actually used now to prevent run_autowiz.
  Several _FLAGGED checks that I fixed for 128 bit in the wrong SVN directory and failed to committ.
This commit is contained in:
Rumble
2008-01-05 03:54:30 +00:00
parent 9336b21d40
commit b8bf900585
15 changed files with 41 additions and 65 deletions

View File

@@ -871,31 +871,7 @@ void find_replacement(void *go, struct script_data *sc, trig_data *trig,
snprintf(str, slen, "%d", (IN_ROOM(c)!= NOWHERE) ? world[IN_ROOM(c)].number : 0);
#endif
}
#ifdef GET_RACE
else if (!str_cmp(field, "race")) {
if IS_NPC(c) {
*str='\0';
} else {
sprinttype(GET_RACE(c), race_types, str, slen);
}
}
#endif
#ifdef RIDING
else if (!str_cmp(field, "riding")) {
if (RIDING(c))
snprintf(str, slen, "%c%ld", UID_CHAR, GET_ID(RIDING(c)));
else *str = '\0';
}
#endif
#ifdef RIDDEN_BY
else if (!str_cmp(field, "ridden_by")) {
if (RIDDEN_BY(c))
snprintf(str, slen, "%c%ld", UID_CHAR, GET_ID(RIDDEN_BY(c)));
else *str = '\0';
}
#endif
break;
case 's':
if (!str_cmp(field, "sex"))