diff options
author | Strangerke | 2016-07-25 12:14:38 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | af84d233d0d97f11d8d7241e4ed4a751ed6c5a64 (patch) | |
tree | c4892924c15c4a8de29439a87b2dca8f7a95d585 /engines/dm/dm.h | |
parent | d5d41f455935af876815d003f5aa3684ccd50df1 (diff) | |
download | scummvm-rg350-af84d233d0d97f11d8d7241e4ed4a751ed6c5a64.tar.gz scummvm-rg350-af84d233d0d97f11d8d7241e4ed4a751ed6c5a64.tar.bz2 scummvm-rg350-af84d233d0d97f11d8d7241e4ed4a751ed6c5a64.zip |
DM: Refactor f322_championPoison, f284_setPartyDirection, f316_deleteScent, f317_addScentStrength, f310_getMovementTicks and f294_isAmmunitionCompatibleWithWeapon
Diffstat (limited to 'engines/dm/dm.h')
-rw-r--r-- | engines/dm/dm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/dm.h b/engines/dm/dm.h index 1b1f8a7af2..653afb581f 100644 --- a/engines/dm/dm.h +++ b/engines/dm/dm.h @@ -168,10 +168,10 @@ enum { - +//TODO: Directly use CLIP template<typename T> inline T f26_getBoundedValue(T min, T val, T max) { - return MIN(MAX(min, val), max); + return CLIP<T>(min, val, max); } // @ F0026_MAIN_GetBoundedValue #define CALL_MEMBER_FN(object,ptrToMember) ((object).*(ptrToMember)) |