fix 814

needz moar std::max
fix retaliation ending

relevant code was trapped in an irrelevant if()
sanity check

sanity? check.
fix battlescape button thing
ignore values over 24

i don't care if you want to make godzilla, the engine doesn't support units
over 24 voxels high. i appreciate that you modders want to push the limits,
but they're called limits for a reason.
lol
slight alteration to triscene draw method