Skip to content

Commit

Permalink
[fix][debug] Use const char* instead of const wchar* in `LoadMiss…
Browse files Browse the repository at this point in the history
…ileSprite` to see whole path.
  • Loading branch information
Jarod42 committed Jun 2, 2024
1 parent 39ad39d commit a41a45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/missile/missile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void MissileType::LoadMissileSprite()
}

// Correct the number of frames in graphic
DebugPrint("%s - %d>=%d\n", this->G->File.c_str(), this->G->NumFrames, this->SpriteFrames);
DebugPrint("%s - %d>=%d\n", this->G->File.string().c_str(), this->G->NumFrames, this->SpriteFrames);
Assert(this->G->NumFrames >= this->SpriteFrames);
this->G->NumFrames = this->SpriteFrames;
// FIXME: Don't use NumFrames as number of frames.
Expand Down

0 comments on commit a41a45e

Please sign in to comment.