mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	fixed a crash on buggy items
This commit is contained in:
		| @@ -205,6 +205,15 @@ EX bool collectItem(cell *c2, bool telekinesis IS(false)) { | ||||
|     dopickup = false; | ||||
|     } | ||||
|   else if(c2->item == itBuggy || c2->item == itBuggy2) { | ||||
|  | ||||
|     if(changes.on) { | ||||
|       if(changes.checking) { | ||||
|         changes.rollback(); | ||||
|         return true; | ||||
|         } | ||||
|       changes.commit(); | ||||
|       } | ||||
|  | ||||
|     items[itOrbSafety] += 7; | ||||
|     if(shmup::on) | ||||
|       shmup::delayed_safety = true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue