AliYousuf / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

Incorrect syntax in mission “Nobody Laugh” (game-breaking) #919

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The mission “Nobody Laugh” is broken; it reports Lua errors when started.

To be precise, Hedgewars reports an error on line 99: invalid ammoType.

And this line is indeed using an invalid ammoType.

AddAmmo(hhs[i], amDeagle, 100)

But it should be:

AddAmmo(hhs[i], amDEeagle, 100)

With this fix, this mission works again.

Original issue reported on code.google.com by almikes@aol.com on 2 Apr 2015 at 3:17

GoogleCodeExporter commented 8 years ago
Thanks for the report. I think you meant:
AddAmmo(hhs[i], amDEagle, 100)
Issue is fixed in b085cf83ab4c.

Original comment by RedGrin...@gmail.com on 5 Apr 2015 at 3:47