mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fixed help for life Orbs in the shmup mode
This commit is contained in:
		
							
								
								
									
										11
									
								
								help.cpp
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								help.cpp
									
									
									
									
									
								
							| @@ -338,6 +338,17 @@ EX string generateHelpForItem(eItem it) { | ||||
|  | ||||
|    string help = helptitle(XLATN(iinf[it].name), iinf[it].color); | ||||
|  | ||||
|    if(shmup::on && isShmupLifeOrb(it)) { | ||||
|      int cnt = 0; | ||||
|      help += XLAT( | ||||
|        "The following Orbs act an extra lives in the shmup mode:"); | ||||
|      for(int i=0; i<ittypes; i++) { | ||||
|        eItem it2 = eItem(i); | ||||
|        if(isShmupLifeOrb(it2)) help += cnt++ ? XLAT(", %1", it2) : XLAT(" %1", it2); | ||||
|        } | ||||
|      } | ||||
|     | ||||
|    else | ||||
|    #if CAP_CRYSTAL | ||||
|    if(it == itCompass && cryst) | ||||
|      help += crystal::compass_help(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue