comparison stru6.cpp @ 796:14beae4f1723

Last observable issues with walking in dragon cave fixed.
author Nomad
date Mon, 25 Mar 2013 14:56:50 +0200
parents 700b58aac975
children c232f160e6f3
comparison
equal deleted inserted replaced
795:472ca68386d4 796:14beae4f1723
781 //v2 = this; 781 //v2 = this;
782 result = a2->uType; 782 result = a2->uType;
783 783
784 switch (a2->uType) 784 switch (a2->uType)
785 { 785 {
786 case 500: // blue rat bolt for example
787 case 530:
788 _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc(a2, 0x00AAAFF, uTextureID_effpar1);
789 return false;
790
791 case 510: // dragon fire for example
792 _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc(a2, 0xFF3C1E, uTextureID_effpar1);
793 return false;
794
786 case 545: 795 case 545:
787 case 550: 796 case 550:
788 case 555: return true; 797 case 555: return true;
789 798
790 case 556: 799 case 556:
865 __debugbreak(); // find out what kind of spells are these 874 __debugbreak(); // find out what kind of spells are these
866 875
867 result -= 500; 876 result -= 500;
868 switch ( result ) 877 switch ( result )
869 { 878 {
870 case 0:
871 case 30:
872 _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc(a2, 0xAAAFF, uTextureID_effpar1);
873 return false;
874 case 1: 879 case 1:
875 case 31: 880 case 31:
876 _4A75CC_single_spell_collision_particle(a2, 0xAAAFF, uTextureID_effpar1); 881 _4A75CC_single_spell_collision_particle(a2, 0xAAAFF, uTextureID_effpar1);
877 return true; 882 return true;
878 case 5: 883 case 5:
879 _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc(a2, 0x5C310E, uTextureID_effpar1); 884 _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc(a2, 0x5C310E, uTextureID_effpar1);
880 return false;
881 case 10:
882 _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc(a2, 0xFF3C1E, uTextureID_effpar1);
883 return false; 885 return false;
884 case 15: 886 case 15:
885 _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc(a2, 0x0062D0, uTextureID_effpar1); 887 _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc(a2, 0x0062D0, uTextureID_effpar1);
886 return false; 888 return false;
887 case 16: 889 case 16: