From 6097ed3f65b640174eb042a902c5c7fa5c90030c Mon Sep 17 00:00:00 2001 From: Dennis Duda Date: Wed, 12 Sep 2018 20:19:27 +0200 Subject: [PATCH] LoadPlrGFX is now binary exact. --- Source/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/player.cpp b/Source/player.cpp index 3eace8291..eca715d5c 100644 --- a/Source/player.cpp +++ b/Source/player.cpp @@ -133,7 +133,7 @@ void __fastcall LoadPlrGFX(int pnum, player_graphic gfxflag) UCHAR *pData; UCHAR *pAnim; - for (DWORD i = 1; i <= PFILE_ALL; i *= 2) { + for (DWORD i = 1; i <= PFILE_ALL; i <<= 1) { if ( !(i & gfxflag) ) { continue; }