Browse Source

Fixed last known crashing issue, also themes

This one finally fixes it so theme rooms spawn properly
pull/4/head
galaxyhaxz 8 years ago committed by GitHub
parent
commit
eb838b6df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/themes.cpp

2
Source/themes.cpp

@ -659,7 +659,7 @@ LABEL_23:
v17 = themeCount;
for ( k = 0; k < themeCount; v13 += 5 )
{
if ( _LOBYTE(themes[k].ttype) == -1 )
if ( _LOBYTE(themes[k].ttype) == LOBYTE(-1) ) /* char */
{
_LOBYTE(v12) = 0;
themes[k].ttval = *v13;

Loading…
Cancel
Save