1
0
Fork 0

Fixed last known crashing issue, also themes

This one finally fixes it so theme rooms spawn properly
pull/18/head
galaxyhaxz 2018-06-17 05:02:32 -05:00 committed by GitHub
parent d28ae62576
commit eb838b6df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;