Commits

GhostlyDeath committed 853e86f

Correct Some Errors
* Incorrect order of dogs and old plasma.
* Convert sprite to uppercase

  • Participants
  • Parent commits 7b03017

Comments (0)

Files changed (3)

 	SPR_SPLA,
 	SPR_TNT1,					// 140  SoM: 3/8/2000: add invisible sprite
 	
-	SPR_DOGS,
 	SPR_PLS1, // killough 7/19/98: first  of two plasma fireballs in the beta
 	SPR_PLS2, // killough 7/19/98: second of two plasma fireballs in the beta
+	SPR_DOGS,
 	
 	SPR_FLAG,
 	
 		for (i = 0; i < 4 && Value[i]; i++)
 		{
 			StateP->HoldSprite[i] = Value[i];
-			StateP->SpriteID |= ((uint32_t)Value[i]) << (i * 8);
+			StateP->SpriteID |= ((uint32_t)toupper(Value[i])) << (i * 8);
 		}
 		
 	// Get Priority
 			
 			// Find sprite to map to
 			for (j = 0; j < 4 && TargTouch->SpriteName[j]; j++)
-				TargTouch->ActSpriteID |= ((uint32_t)TargTouch->SpriteName[j]) << (j * 8);
+				TargTouch->ActSpriteID |= ((uint32_t)toupper(TargTouch->SpriteName[j])) << (j * 8);
 			
 			//TargTouch->ActSpriteNum = INFO_SpriteNumByName(TargTouch->SpriteName);
 		}