1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-30 01:12:25 +01:00

Add missing semicolons >_<

This commit is contained in:
ChrisANG 2021-01-12 17:50:20 -05:00
parent 1f1327efa2
commit 2061a15458
7 changed files with 10 additions and 10 deletions

View file

@ -128,7 +128,7 @@ boolean restore;
fix_object(otmp);
} else if (otmp->otyp == SPE_BOOK_OF_THE_DEAD) {
otmp->otyp = SPE_BLANK_PAPER;
otmp->obj_color = objects[SPE_BLANK_PAPER].oc_color
otmp->obj_color = objects[SPE_BLANK_PAPER].oc_color;
curse(otmp);
}
if(is_lightsaber(otmp)){

View file

@ -2923,7 +2923,7 @@ doeat() /* generic "eat" command funtion (see cmd.c) */
costly_cancel(otmp);
if(otmp->spestudied > MAX_SPELL_STUDY){
otmp->otyp = SPE_BLANK_PAPER;
otmp->obj_color = objects[SPE_BLANK_PAPER].oc_color
otmp->obj_color = objects[SPE_BLANK_PAPER].oc_color;
}
lesshungry(5*INC_BASE_NUTRITION);
flags.botl = 1;

View file

@ -2404,7 +2404,7 @@ boolean amnesia;
bill_dummy_object(obj);
}
obj->otyp = SPE_BLANK_PAPER;
obj->obj_color = objects[SPE_BLANK_PAPER].oc_color
obj->obj_color = objects[SPE_BLANK_PAPER].oc_color;
}
used = TRUE;
}

View file

@ -4437,7 +4437,7 @@ int tx,ty;
}
pline("\"Your contribution is appreciated. Now don't bother me.\"");
o->otyp = SPE_BLANK_PAPER;
o->obj_color = objects[SPE_BLANK_PAPER].oc_color
o->obj_color = objects[SPE_BLANK_PAPER].oc_color;
newsym(tx,ty);
bindspirit(ep->ward_id);
u.sealTimeout[PAIMON-FIRST_SEAL] = moves + bindingPeriod;

View file

@ -473,7 +473,7 @@ learn()
pline("It's blank. You guess the author KEPT his secrets.");
book->otyp = booktype = SPE_BLANK_PAPER;
book->ovar1 = 0;
book->obj_color = objects[SPE_BLANK_PAPER].oc_color
book->obj_color = objects[SPE_BLANK_PAPER].oc_color;
break;
case 4:
pline("...these metallurgical techniques are 200 years out of date.");
@ -598,7 +598,7 @@ learn()
if (book->spestudied > MAX_SPELL_STUDY) {
pline("This spellbook is too faint to be read any more.");
book->otyp = booktype = SPE_BLANK_PAPER;
book->obj_color = objects[SPE_BLANK_PAPER].oc_color
book->obj_color = objects[SPE_BLANK_PAPER].oc_color;
}
if (costly) check_unpaid(book);
@ -3461,7 +3461,7 @@ spiriteffects(power, atme)
// if(uwep->spestudied > MAX_SPELL_STUDY){
// pline("The magical energy within %s is exhausted.",the(xname(uwep)));
// uwep->otyp = SPE_BLANK_PAPER;
// uwep->obj_color = objects[SPE_BLANK_PAPER].oc_color
// uwep->obj_color = objects[SPE_BLANK_PAPER].oc_color;
// }
} else{
You("need to be holding a spellbook.");

View file

@ -3269,7 +3269,7 @@ struct monst *owner;
else if (obj->oartifact) /*do nothing*/;
else {
obj->otyp = SPE_BLANK_PAPER;
obj->obj_color = objects[SPE_BLANK_PAPER].oc_color
obj->obj_color = objects[SPE_BLANK_PAPER].oc_color;
}
break;
case POTION_CLASS:

View file

@ -1101,7 +1101,7 @@ register struct obj *obj;
obj->otyp != SPE_BOOK_OF_THE_DEAD) {
costly_cancel(obj);
obj->otyp = SPE_BLANK_PAPER;
obj->obj_color = objects[SPE_BLANK_PAPER].oc_color
obj->obj_color = objects[SPE_BLANK_PAPER].oc_color;
obj->spe = 0;
obj->oward = 0;
}
@ -1745,7 +1745,7 @@ poly_obj(obj, id)
/* reduce spellbook abuse */
if(otmp->spestudied > MAX_SPELL_STUDY){
otmp->otyp = SPE_BLANK_PAPER;
otmp->obj_color = objects[SPE_BLANK_PAPER].oc_color
otmp->obj_color = objects[SPE_BLANK_PAPER].oc_color;
}
else otmp->spestudied = obj->spestudied + 1;
break;