X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=main.c;h=b14e5ca09be2878f7b060a224673bbae5b564d5d;hp=c4892ffe04e8eb04f74b0cae5bebb62c2d5777e4;hb=7675b5256274b56ff897a988c44aa74cb4e6b89f;hpb=fa9b6d317f5138c8a4937a14a92acf4b5928545e diff --git a/main.c b/main.c index c4892ff..b14e5ca 100644 --- a/main.c +++ b/main.c @@ -841,7 +841,7 @@ static void lampcheck(void) * goes out. Even then, he can explore outside for a while * if desired. */ if (game.limit <= WARNTIME && HERE(BATTERY) && game.prop[BATTERY] == 0 && HERE(LAMP)) { - RSPEAK(REPLACE_BATTERYIES); + RSPEAK(REPLACE_BATTERIES); game.prop[BATTERY] = 1; if (TOTING(BATTERY)) DROP(BATTERY, game.loc); @@ -855,7 +855,7 @@ static void lampcheck(void) } else if (game.limit <= WARNTIME) { if (!game.lmwarn && HERE(LAMP)) { game.lmwarn = true; - int spk = GET_BATTERYIES; + int spk = GET_BATTERIES; if (game.place[BATTERY] == NOWHERE)spk = LAMP_DIM; if (game.prop[BATTERY] == 1)spk = MISSING_BATTERYIES; RSPEAK(spk);