src/aircraft_cmd.cpp
changeset 10056 48659f7d4fa5
parent 9923 3056bf623139
child 10123 f73d96619303
equal deleted inserted replaced
10055:b3bf982d7879 10056:48659f7d4fa5
   218  * @param width The width of the sprite
   218  * @param width The width of the sprite
   219  * @param height The height of the sprite
   219  * @param height The height of the sprite
   220  */
   220  */
   221 void GetAircraftSpriteSize(EngineID engine, uint &width, uint &height)
   221 void GetAircraftSpriteSize(EngineID engine, uint &width, uint &height)
   222 {
   222 {
   223 	const Sprite *spr = GetSprite(GetAircraftIcon(engine));
   223 	const Sprite *spr = GetSprite(GetAircraftIcon(engine), ST_NORMAL);
   224 
   224 
   225 	width  = spr->width;
   225 	width  = spr->width;
   226 	height = spr->height;
   226 	height = spr->height;
   227 }
   227 }
   228 
   228