src/newgrf.cpp
changeset 9390 88d36f907e96
parent 9358 2e1e4d2f71dd
child 9413 7042a8ec3fa8
equal deleted inserted replaced
9389:b547cd1aaac2 9390:88d36f907e96
  3705 	 *                 were specified.
  3705 	 *                 were specified.
  3706 	 * B offset        Offset into data from beginning of next sprite
  3706 	 * B offset        Offset into data from beginning of next sprite
  3707 	 *                 to place where parameter is to be stored. */
  3707 	 *                 to place where parameter is to be stored. */
  3708 
  3708 
  3709 	/* Preload the next sprite */
  3709 	/* Preload the next sprite */
  3710 	uint32 pos = FioGetPos();
  3710 	size_t pos = FioGetPos();
  3711 	uint16 num = FioReadWord();
  3711 	uint16 num = FioReadWord();
  3712 	uint8 type = FioReadByte();
  3712 	uint8 type = FioReadByte();
  3713 
  3713 
  3714 	/* Check if the sprite is a pseudo sprite. We can't operate on real sprites. */
  3714 	/* Check if the sprite is a pseudo sprite. We can't operate on real sprites. */
  3715 	if (type == 0xFF) {
  3715 	if (type == 0xFF) {