made Battle Princess level 3

This commit is contained in:
Dave White 2004-03-30 18:47:13 +00:00
parent 08977ec4b1
commit ebeef49742
2 changed files with 6 additions and 2 deletions

View file

@ -7,7 +7,7 @@ hitpoints=52
movement_type=elusivefoot
movement=6
experience=500
level=2
level=3
alignment=neutral
advanceto=null
cost=110

View file

@ -43,6 +43,8 @@ RESULT enter(display& disp, config& game_data, const config& terrain_data)
update_whole_screen();
bool last_escape = true;
for(;;) {
if(background != NULL)
SDL_BlitSurface(background, NULL, disp.video().getSurface(), NULL);
@ -210,10 +212,12 @@ RESULT enter(display& disp, config& game_data, const config& terrain_data)
message_entry.clear();
}
if(key[SDLK_ESCAPE] || quit_game.process(mousex,mousey,left_button)){
if(last_escape == false && key[SDLK_ESCAPE] || quit_game.process(mousex,mousey,left_button)){
return QUIT;
}
last_escape = bool(key[SDLK_ESCAPE]);
events::raise_process_event();
events::raise_draw_event();