shithub: duke3d

Download patch

ref: e4d26075cb126c4aa011f1638080085f9c3bc723
parent: c1414921e4a25ae93629a6430f4edf1f304607ee
author: Fabien Sanglard <[email protected]>
date: Sat Dec 22 19:53:24 EST 2012

Fixed bug introduced by TILE_MakeAvailable (typo).

--- a/Engine/src/engine.c
+++ b/Engine/src/engine.c
@@ -3870,7 +3870,7 @@
         nextv = v;
     }
 
-    TILE_MakeAvailable(globalpicnum);
+    TILE_MakeAvailable(picnum);
     
     setgotpic(picnum);
     bufplc = tiles[picnum].data;