| 240 | } |
| 241 | |
| 242 | int GetSpellLevel(int id, int sn) |
| 243 | { |
| 244 | int result; |
| 245 | |
| 246 | if (id == myplr) |
| 247 | result = plr[id]._pISplLvlAdd + plr[id]._pSplLvl[sn]; |
| 248 | else |
| 249 | result = 1; |
| 250 | |
| 251 | if (result < 0) |
| 252 | result = 0; |
| 253 | |
| 254 | return result; |
| 255 | } |
| 256 | |
| 257 | int GetDirection8(int x1, int y1, int x2, int y2) |
| 258 | { |
no outgoing calls
no test coverage detected