Skip to content

Commit

Permalink
LoadMissileGFX bin exact suggestion #1
Browse files Browse the repository at this point in the history
Co-Authored-By: qndel <stefan551@o2.pl>
  • Loading branch information
AJenbo and qndel authored Mar 19, 2019
1 parent c47e68e commit 6436810
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/missiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,9 @@ void __fastcall LoadMissileGFX(BYTE mi)
char pszName[256];
int i;
BYTE *file;
MisFileData *mfd = &misfiledata[mi];
MisFileData *mfd;

mfd = &misfiledata[mi];
if (mfd->mFlags & MFLAG_ALLOW_SPECIAL) {
sprintf(pszName, "Missiles\\%s.CEL", mfd->mName);
file = LoadFileInMem(pszName, 0);
Expand Down

0 comments on commit 6436810

Please # to comment.