Skip to content

Commit

Permalink
Common: corrected SPF_OBSOLETEMASK value
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-mogilko committed Aug 14, 2024
1 parent 6a501b5 commit 1852ff5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Common/ac/gamestructdefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ enum GameGuiAlphaRenderingStyle
// Sprite flags
// SERIALIZATION NOTE: serialized as 8-bit in game data and legacy saves
// serialized as 32-bit in new saves (for dynamic sprites only).
// WARNING: whole lower byte was taken by now deprecated flags;
// should not reuse these bits unless explicitly set a new spritefile format version!
#define SPF_OBSOLETEMASK 0xFB
// WARNING: 0x3B bits were taken by now deprecated flags (see SPF_OBSOLETEMASK);
// should not reuse these bits unless explicitly set a new game data format version!
#define SPF_OBSOLETEMASK 0x3B
#define SPF_DYNAMICALLOC 0x04 // created by runtime script
#define SPF_OBJECTOWNED 0x0100 // owned by a game object (not created in user script)

Expand Down

0 comments on commit 1852ff5

Please sign in to comment.