Build 4777
SVN-
fix 'readgamearray' and 'resizearray' on Windows.
Show details
We must not use Xrealloc(), since gamearrays are now allocated with Xaligned_alloc(). NOTE: I did not check all potential problematic cases, only those to get LNGA3 up and running.
-
fix 'readgamearray' on 64-bit platforms.
Show details
Also prettify P_DisplaySpit().
-
player[].loogcnt, userdef[].color, minor fixes.
-
fix tilesizx[] and tilesizy[] system gamearrays.
-
fix possible crash when a CON error is raised due to access of invalid sprite.
Show details
For example, in CON_ERRPRINTF("invalid target sprite (%d) %d %d\n", iActor, vm.g_i, TrackerCast(vm.g_sp->picnum)); vm.g_i can be -1 and vm.g_sp can be NULL then. (Not anymore.) DONT_BUILD.