Fix hog not getting new ammo in Highlander when it takes 2 consecutive turns
This happens when all enemy hogs are frozen
Backed out
changeset 071a05275798
Reason: Can't switch weapon forwards while preventing slipping, or while doing precise aiming
Replace hardcoded max. ammo index in Highlander with AmmoTypeMax
For testing purposes, drop tointeger and pushint since Lua uses ptrdiff causing inconsistent behaviour if we try to get a longword value from tointeger on 64 bit vs 32bit. This should improve script reliability a bit