whitespace cleanup: tabs to spaces
This commit is contained in:
@@ -351,8 +351,8 @@ restmon(NHFILE *nhfp, struct monst *mtmp)
|
|||||||
if (buflen > 0) {
|
if (buflen > 0) {
|
||||||
newedog(mtmp);
|
newedog(mtmp);
|
||||||
Sfi_edog(nhfp, EDOG(mtmp), "monst-edog");
|
Sfi_edog(nhfp, EDOG(mtmp), "monst-edog");
|
||||||
/* save or bones held a relative time */
|
/* save or bones held a relative time */
|
||||||
relative_time_to_moves(&EDOG(mtmp)->droptime);
|
relative_time_to_moves(&EDOG(mtmp)->droptime);
|
||||||
/* sanity check to prevent rn2(0) */
|
/* sanity check to prevent rn2(0) */
|
||||||
if (EDOG(mtmp)->apport <= 0) {
|
if (EDOG(mtmp)->apport <= 0) {
|
||||||
EDOG(mtmp)->apport = 1;
|
EDOG(mtmp)->apport = 1;
|
||||||
|
|||||||
@@ -853,10 +853,10 @@ savemon(NHFILE *nhfp, struct monst *mtmp)
|
|||||||
buflen = EDOG(mtmp) ? (int) sizeof (struct edog) : 0;
|
buflen = EDOG(mtmp) ? (int) sizeof (struct edog) : 0;
|
||||||
Sfo_int(nhfp, &buflen, "monst-edog_length");
|
Sfo_int(nhfp, &buflen, "monst-edog_length");
|
||||||
if (buflen > 0) {
|
if (buflen > 0) {
|
||||||
/* we only store relative times in save and bones */
|
/* we only store relative times in save and bones */
|
||||||
moves_to_relative_time(&EDOG(mtmp)->droptime);
|
moves_to_relative_time(&EDOG(mtmp)->droptime);
|
||||||
Sfo_edog(nhfp, EDOG(mtmp), "monst-edog");
|
Sfo_edog(nhfp, EDOG(mtmp), "monst-edog");
|
||||||
relative_time_to_moves(&EDOG(mtmp)->droptime);
|
relative_time_to_moves(&EDOG(mtmp)->droptime);
|
||||||
}
|
}
|
||||||
buflen = EBONES(mtmp) ? (int) sizeof (struct ebones) : 0;
|
buflen = EBONES(mtmp) ? (int) sizeof (struct ebones) : 0;
|
||||||
Sfo_int(nhfp, &buflen, "monst-ebones_length");
|
Sfo_int(nhfp, &buflen, "monst-ebones_length");
|
||||||
|
|||||||
Reference in New Issue
Block a user