Browse Source

Fix decomilation in trigs

This one could cause memory leaks upon returning to a level.
pull/4/head
galaxyhaxz 8 years ago committed by GitHub
parent
commit
7042c04f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/trigs.cpp

2
Source/trigs.cpp

@ -1093,7 +1093,7 @@ void __cdecl Freeupstairs()
v1 = trigflag[4];
do
{
v2 = &nBlockTable[112 * *(v0 - 1) + 1830 + *v0];
v2 = &dFlags[*(v0 - 1)-2][*v0-2]; /* v2 = &nBlockTable[112 * *(v0 - 1) + 1830 + *v0]; check */
v3 = 5;
do
{

Loading…
Cancel
Save