cheahjs / TerrariaAPI-Server

Fork is now over at https://github.com/NyxStudios/TerrariaAPI-Server
https://tshock.co
32 stars 24 forks source link

Fixed issue with Snowman Cannon acting odd. #36

Closed Ijwu closed 10 years ago

Ijwu commented 10 years ago

Sets Item.explosive member on the Snowman Cannon so that it doesn't act weird in TShock.

Olink commented 10 years ago

What does explosive = 3 mean? Are you sure it shouldnt be 4, 2, 1?

Ijwu commented 10 years ago

I honestly have no idea. I did test it in-game and it worked perfectly fine. Simon311 mentioned it should be 3, but on what criteria I do not know. The only mention of the variable in tile edit code is just that it is not 0. I didn't look any deeper into Tshock or tsapi to discern any other uses. If it's an issue, I'll go over k0rd's commits which added the variable and ensure 3 is the proper value, when I have the time.

Ijwu commented 10 years ago

Was added in 6bac146.

Closing.