mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	tour:: dialog::key_actions taken into account
This commit is contained in:
		
							
								
								
									
										4
									
								
								tour.cpp
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								tour.cpp
									
									
									
									
									
								
							| @@ -255,6 +255,10 @@ bool handleKeyTour(int sym, int uni) { | |||||||
|   if(!(cmode & sm::DOTOUR)) return false; |   if(!(cmode & sm::DOTOUR)) return false; | ||||||
|   bool inhelp = cmode & sm::HELP; |   bool inhelp = cmode & sm::HELP; | ||||||
|   flagtype flags = slides[currentslide].flags; |   flagtype flags = slides[currentslide].flags; | ||||||
|  |   if(dialog::key_actions.count(sym)) { | ||||||
|  |     dialog::key_actions[sym](); | ||||||
|  |     return true; | ||||||
|  |     } | ||||||
|   if((sym == SDLK_RETURN || sym == SDLK_KP_ENTER) && (!inhelp || (flags & QUICKSKIP))) |   if((sym == SDLK_RETURN || sym == SDLK_KP_ENTER) && (!inhelp || (flags & QUICKSKIP))) | ||||||
|     return next_slide(); |     return next_slide(); | ||||||
|   if(sym == SDLK_BACKSPACE) { |   if(sym == SDLK_BACKSPACE) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue