stop_block and aoe projectiles

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Umbrall
Thalore
Posts: 153
Joined: Sat Feb 23, 2013 7:53 pm

stop_block and aoe projectiles

#1 Post by Umbrall »

This doesn't matter at all for the core game but it's a trivial fix:
line 246 of projectile should be changed from

Code: Select all

self.src:projectDoStop(self.project.def.typ, self.project.def.tg, self.project.def.damtype, self.project.def.dam, self.project.def.particles, self.x, self.y, self.tmp_proj)
to

Code: Select all

self.src:projectDoStop(self.project.def.typ, self.project.def.tg, self.project.def.damtype, self.project.def.dam, self.project.def.particles, self.x, self.y, self.tmp_proj, self.old_x, self.old_y)
This is so that projectiles with an aoe don't break when they have stop_block

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: stop_block and aoe projectiles

#2 Post by tiger_eye »

Good catch, but it should use the current x and y, not "old_x" and "old_y".
darkgod wrote:OMFG tiger eye you are my hero!

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: stop_block and aoe projectiles

#3 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply