# HG changeset patch # User Nomad # Date 1362448706 -7200 # Node ID f51373466911dd5bf81baa33ef02dccaf9d29d61 # Parent fcbb3c281217f186c197129d795c84c9175c9c3e Pedestals hint string fixed diff -r fcbb3c281217 -r f51373466911 stru123.h --- a/stru123.h Tue Mar 05 03:42:21 2013 +0200 +++ b/stru123.h Tue Mar 05 03:58:26 2013 +0200 @@ -6,7 +6,7 @@ struct stru123 { char field_0[75]; - char _decor_events[125]; + unsigned char _decor_events[125]; }; #pragma pack(pop) extern stru123 stru_5E4C90; \ No newline at end of file diff -r fcbb3c281217 -r f51373466911 stru6.cpp --- a/stru6.cpp Tue Mar 05 03:42:21 2013 +0200 +++ b/stru6.cpp Tue Mar 05 03:58:26 2013 +0200 @@ -783,6 +783,7 @@ switch (a2->uType) { + case 545: case 550: case 555: return true; @@ -859,11 +860,10 @@ case 9000: return true; } - if ( result <= 545 ) + if ( result < 545 ) { __debugbreak(); // find out what kind of spells are these - if ( result != 545 ) - { + result -= 500; switch ( result ) { @@ -924,8 +924,6 @@ return false; } return false; - } - return true; } if ( result <= 4051 )