Add stones to default fire_order. Removed unused function.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@901 c06c8d41-db1a-0410-9941-cceddc491573
2WNUWTZNE66IUUTQ4NW3RN7P2MFUKBXPD265M5CTZCDKC56VQONQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
// TODO: Do we need this or would a different header be better?inline int sgn(int x){ return x < 0? -1 : (x > 0);}
// TODO: Do we need this or would a different header be better?
inline int sgn(int x)
{
return x < 0? -1 : (x > 0);
}
note_hp_percent = 0;
note_hp_percent = 5;
// Clear fire_order and set up the defaults. for (int i = 0; i < NUM_FIRE_TYPES; i++) fire_order[i] = FIRE_NONE;
// Clear fire_order and set up the defaults.
for (int i = 0; i < NUM_FIRE_TYPES; i++)
fire_order[i] = FIRE_NONE;
fire_order[2] = FIRE_STONE; // and then chuck stones
// clear the rest of the list for (int i = 2; i < NUM_FIRE_TYPES; i++) fire_order[i] = FIRE_NONE;
// clear the rest of the list
for (int i = 2; i < NUM_FIRE_TYPES; i++)