diff -r f50cf1771b7f -r 5cb76f048bd9 LuaAPI.wiki
--- a/LuaAPI.wiki Sun Dec 21 04:46:37 2014 +0000
+++ b/LuaAPI.wiki Sun Dec 21 12:10:49 2014 +0000
@@ -242,8 +242,8 @@
=== onDownUp() ===
This function is called when you release the down key.
-=== onHogAttack() ===
-This function is called when you press the attack key.
+=== onHogAttack(ammoType) ===
+This function is called when you press the attack key. Beginning with 0.9.21, the parameter `ammoType` is provided. It contains the ammo type of the weapon used for the attack.
=== onLeftUp() ===
This function is called when you release the left key.