zero check

This commit is contained in:
Sergeanur 2019-09-28 22:07:05 +03:00
parent 5854016ec5
commit 90f085c1ca

View file

@ -43,7 +43,7 @@ LoadPlayerDff(void)
uint8 *buffer; uint8 *buffer;
bool streamWasAdded = false; bool streamWasAdded = false;
if (!CdStreamGetNumImages()) { if (CdStreamGetNumImages() == 0) {
CdStreamAddImage("models\\gta3.img"); CdStreamAddImage("models\\gta3.img");
streamWasAdded = true; streamWasAdded = true;
} }