Skip to content

Commit

Permalink
IMAGES: TXI variable "fps" is apparently a float
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Jun 10, 2019
1 parent c084673 commit 3288d27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/images/tpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ bool TPC::checkAnimated(uint32 &width, uint32 &height, uint32 &dataSize) {
if (txi.getFeatures().procedureType != "cycle" ||
txi.getFeatures().numX == 0 ||
txi.getFeatures().numY == 0 ||
txi.getFeatures().fps == 0) {
txi.getFeatures().fps == 0.0f) {

return false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/images/txi.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class TXI {
bool filter { true };
float fontHeight { 0.0f };
float fontWidth { 0.0f };
uint8 fps { 0 };
float fps { 0.0f };
bool isBumpMap { false };
bool isDoubleByte { false };
bool isLightMap { false };
Expand Down

0 comments on commit 3288d27

Please sign in to comment.