Skip to content

Commit

Permalink
Change: Make NFORenum not care about missing 8bpp sprites.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterN committed Jan 21, 2025
1 parent 6b2c340 commit c7db7c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/lang/message_english.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ NFO_MESSAGE(INVALID_ACT2_FLAGS,"Unknown flag set (offset %d) in advanced action2
NFO_MESSAGE(NOT_IN_REALSPRITE,"Found realsprite continuation line while looking for sprite %d.\n",0)
NFO_MESSAGE(REAL_UNKNOWN_FLAG,"Unknown or duplicate flag '%t'.\n",0)
NFO_MESSAGE(REAL_DUPLICATE_ZOOM,"Duplicate zoomlevel/depth sprite.\n",0)
NFO_MESSAGE(REAL_8BPP_NORMAL_FIRST,"8bpp normal zoom sprite must appear first.\n",0)
NFO_MESSAGE(REAL_32BPP_BEFORE_MASK,"mask sprites must be preceded by 32bpp sprites.\n",0)
NFO_MESSAGE(UNKNOWN_ACT0_DATA,"Unknown data does not allow processesing past this point.\n",USE_PREFIX|HAS_OFFSET)

Expand Down
1 change: 0 additions & 1 deletion src/nforenum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,6 @@ bool verify_real(string&data,RealSpriteState&formats){
format.bpp32 = depth=="32bpp";
format.zoom = zoom;

if (formats.present.empty()&&(format.bpp32||format.zoom!=0)) IssueMessage(0,REAL_8BPP_NORMAL_FIRST);
if (formats.present.count(format) > 0) { IssueMessage(0,REAL_DUPLICATE_ZOOM); return COMMENTOFF(); }
formats.present.insert(format);
} else {
Expand Down

0 comments on commit c7db7c9

Please sign in to comment.