summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-09-28 21:07:05 +0200
committerSergeanur <s.anureev@yandex.ua>2019-09-28 21:07:05 +0200
commit90f085c1ca771faa2a369efa9cc43c49bdb3199a (patch)
tree98fba40d2e8bc7cece926238b8a3f26eb223e246 /src
parentPlayerSkin (diff)
downloadre3-90f085c1ca771faa2a369efa9cc43c49bdb3199a.tar
re3-90f085c1ca771faa2a369efa9cc43c49bdb3199a.tar.gz
re3-90f085c1ca771faa2a369efa9cc43c49bdb3199a.tar.bz2
re3-90f085c1ca771faa2a369efa9cc43c49bdb3199a.tar.lz
re3-90f085c1ca771faa2a369efa9cc43c49bdb3199a.tar.xz
re3-90f085c1ca771faa2a369efa9cc43c49bdb3199a.tar.zst
re3-90f085c1ca771faa2a369efa9cc43c49bdb3199a.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/PlayerSkin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/PlayerSkin.cpp b/src/core/PlayerSkin.cpp
index 6290351a..111333ec 100644
--- a/src/core/PlayerSkin.cpp
+++ b/src/core/PlayerSkin.cpp
@@ -43,7 +43,7 @@ LoadPlayerDff(void)
uint8 *buffer;
bool streamWasAdded = false;
- if (!CdStreamGetNumImages()) {
+ if (CdStreamGetNumImages() == 0) {
CdStreamAddImage("models\\gta3.img");
streamWasAdded = true;
}