comparison arogue7/command.c @ 316:c03d0b87211c

Naming items should not use up a turn. This was fixed by adding "after = FALSE;" to the relevant cases in command(). Rogue V4 and V5 are not affected.
author John "Elwin" Edwards
date Sun, 31 Oct 2021 21:35:53 -0400
parents 32bc72dcbf4f
children
comparison
equal deleted inserted replaced
315:ad2570b5b21f 316:c03d0b87211c
283 when C_EAT : eat(); 283 when C_EAT : eat();
284 when C_WIELD : wield(); 284 when C_WIELD : wield();
285 when C_WEAR : wear(); 285 when C_WEAR : wear();
286 when C_TAKEOFF : take_off(); 286 when C_TAKEOFF : take_off();
287 when 'o' : option(); 287 when 'o' : option();
288 when CTRL('N') : nameit(); 288 when CTRL('N') : after = FALSE; nameit();
289 when '=' : after = FALSE; display(); 289 when '=' : after = FALSE; display();
290 when 'm' : nameitem(NULL, TRUE); 290 when 'm' : after = FALSE; nameitem(NULL, TRUE);
291 when '>' : after = FALSE; d_level(); 291 when '>' : after = FALSE; d_level();
292 when '<' : after = FALSE; u_level(); 292 when '<' : after = FALSE; u_level();
293 when '?' : after = FALSE; help(); 293 when '?' : after = FALSE; help();
294 when '/' : after = FALSE; identify(0); 294 when '/' : after = FALSE; identify(0);
295 when C_USE : use_mm(-1); 295 when C_USE : use_mm(-1);