diff options
author | Andrew Kurushin | 2007-05-09 13:25:14 +0000 |
---|---|---|
committer | Andrew Kurushin | 2007-05-09 13:25:14 +0000 |
commit | 85082dc8a00b91689f2ab11494e9bdc1bed71578 (patch) | |
tree | c4fc59f7cfd978b8f14c7ff6495ff30b7acb8646 /engines/saga/saga.h | |
parent | 633be17e7fcdadc45d33b9f8a2430e82e3c8a569 (diff) | |
download | scummvm-rg350-85082dc8a00b91689f2ab11494e9bdc1bed71578.tar.gz scummvm-rg350-85082dc8a00b91689f2ab11494e9bdc1bed71578.tar.bz2 scummvm-rg350-85082dc8a00b91689f2ab11494e9bdc1bed71578.zip |
speedup SAGA::Actor::pathLine & SAGA::Actor::scanPathLine calculation
svn-id: r26791
Diffstat (limited to 'engines/saga/saga.h')
-rw-r--r-- | engines/saga/saga.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/saga/saga.h b/engines/saga/saga.h index 4e919dbdbf..0d9a464e19 100644 --- a/engines/saga/saga.h +++ b/engines/saga/saga.h @@ -463,10 +463,6 @@ inline int clamp(int minValue, int value, int maxValue) { } } -inline int integerCompare(int i1, int i2) { - return ((i1) > (i2) ? 1 : ((i1) < (i2) ? -1 : 0)); -} - inline int objectTypeId(uint16 objectId) { return objectId >> OBJECT_TYPE_SHIFT; } |