summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index f6561df95..19ff34803 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -2527,7 +2527,7 @@ static void ReserveChangeInfo(byte *buf, size_t len)
* @param value The value that was used to represent this callback result
* @return A spritegroup representing that callback result
*/
-static const SpriteGroup* NewCallBackResultSpriteGroup(uint16 value)
+static const SpriteGroup *NewCallBackResultSpriteGroup(uint16 value)
{
SpriteGroup *group = AllocateSpriteGroup();
@@ -2552,7 +2552,7 @@ static const SpriteGroup* NewCallBackResultSpriteGroup(uint16 value)
* @param num_sprites The number of sprites per set.
* @return A spritegroup representing the sprite number result.
*/
-static const SpriteGroup* NewResultSpriteGroup(SpriteID sprite, byte num_sprites)
+static const SpriteGroup *NewResultSpriteGroup(SpriteID sprite, byte num_sprites)
{
SpriteGroup *group = AllocateSpriteGroup();
group->type = SGT_RESULT;
@@ -2613,7 +2613,7 @@ static void SkipAct1(byte *buf, size_t len)
/* Helper function to either create a callback or link to a previously
* defined spritegroup. */
-static const SpriteGroup* GetGroupFromGroupID(byte setid, byte type, uint16 groupid)
+static const SpriteGroup *GetGroupFromGroupID(byte setid, byte type, uint16 groupid)
{
if (HasBit(groupid, 15)) return NewCallBackResultSpriteGroup(groupid);
@@ -2626,7 +2626,7 @@ static const SpriteGroup* GetGroupFromGroupID(byte setid, byte type, uint16 grou
}
/* Helper function to either create a callback or a result sprite group. */
-static const SpriteGroup* CreateGroupFromGroupID(byte feature, byte setid, byte type, uint16 spriteid, uint16 num_sprites)
+static const SpriteGroup *CreateGroupFromGroupID(byte feature, byte setid, byte type, uint16 spriteid, uint16 num_sprites)
{
if (HasBit(spriteid, 15)) return NewCallBackResultSpriteGroup(spriteid);