diff options
author | erorcun <erayorcunus@gmail.com> | 2020-08-30 22:24:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-30 22:24:39 +0200 |
commit | b7456c604db963cd7ec065b896d23640d5713167 (patch) | |
tree | 190857b8b0db08b78a17fb5bdfaefa29768834aa /src/render/PlayerSkin.cpp | |
parent | stupid zone load fix (diff) | |
parent | CGame done, Peds, fixes (diff) | |
download | re3-b7456c604db963cd7ec065b896d23640d5713167.tar re3-b7456c604db963cd7ec065b896d23640d5713167.tar.gz re3-b7456c604db963cd7ec065b896d23640d5713167.tar.bz2 re3-b7456c604db963cd7ec065b896d23640d5713167.tar.lz re3-b7456c604db963cd7ec065b896d23640d5713167.tar.xz re3-b7456c604db963cd7ec065b896d23640d5713167.tar.zst re3-b7456c604db963cd7ec065b896d23640d5713167.zip |
Diffstat (limited to 'src/render/PlayerSkin.cpp')
-rw-r--r-- | src/render/PlayerSkin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/PlayerSkin.cpp b/src/render/PlayerSkin.cpp index b3e82cd9..261bbec0 100644 --- a/src/render/PlayerSkin.cpp +++ b/src/render/PlayerSkin.cpp @@ -99,7 +99,7 @@ CPlayerSkin::GetSkinTexture(const char *texName) CTxdStore::PopCurrentTxd(); if (tex != nil) return tex; - if (strcmp(DEFAULT_SKIN_NAME, texName) == 0) + if (strcmp(DEFAULT_SKIN_NAME, texName) == 0 || texName[0] == '\0') sprintf(gString, "models\\generic\\player.bmp"); else sprintf(gString, "skins\\%s.bmp", texName); |