Mercurial > mm7
changeset 567:f51373466911
Pedestals hint string fixed
author | Nomad |
---|---|
date | Tue, 05 Mar 2013 03:58:26 +0200 |
parents | fcbb3c281217 |
children | 6f7d936edc9b |
files | stru123.h stru6.cpp |
diffstat | 2 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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 )