mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed compiling without CAP_RVSLIDES
This commit is contained in:
		| @@ -1243,12 +1243,14 @@ auto hooks  = | ||||
|   addHook(shmup::hooks_kill, 100, activate) + | ||||
|   addHook(hooks_o_key, 100, o_key) + | ||||
|    | ||||
| #if CAP_RVSLIDES | ||||
|   addHook(tour::ss::extra_slideshows, 100, [] (bool view) { | ||||
|     if(!view) return 1; | ||||
|     dialog::addBoolItem(XLAT("RogueViz Tour"), tour::ss::wts == &rvtour::rvslides[0], 'r'); | ||||
|     dialog::add_action([] { tour::ss::wts = rvtour::gen_rvtour(); popScreen(); });     | ||||
|     return 0; | ||||
|     }) + | ||||
| #endif | ||||
|    | ||||
|   addHook(dialog::hooks_display_dialog, 100, [] () { | ||||
|     if(current_screen_cfunction() == showMainMenu) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue