mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-22 10:39:43 +00:00
Add: documention to large functions that have too little documentation according to CodeQL
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ static inline SpriteCache *GetSpriteCache(uint index)
|
||||
|
||||
static inline bool IsMapgenSpriteID(SpriteID sprite)
|
||||
{
|
||||
return IsInsideMM(sprite, 4845, 4882);
|
||||
return IsInsideMM(sprite, SPR_MAPGEN_BEGIN, SPR_MAPGEN_END);
|
||||
}
|
||||
|
||||
static SpriteCache *AllocateSpriteCache(uint index)
|
||||
|
||||
Reference in New Issue
Block a user