aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2010-01-16 19:31:49 +0300
committern0n4m3 <none@none>2010-01-16 19:31:49 +0300
commitec10853f22694f322a62cc530d82d446e206b5ac (patch)
tree0f61362cf9a83e0315722d433d16b8277082421a /src
parented5152316f1990d99db7f8fd03b2dfa42e6e9216 (diff)
Update formula for GameObject 'autoclose' time (dataN-field in_template), by NoFantasy.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/GameObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameObject.h b/src/game/GameObject.h
index 8d378d5a96f..16b5cd96f6e 100644
--- a/src/game/GameObject.h
+++ b/src/game/GameObject.h
@@ -479,7 +479,7 @@ struct GameObjectInfo
case GAMEOBJECT_TYPE_AREADAMAGE: autoCloseTime = areadamage.autoCloseTime; break;
default: break;
}
- return autoCloseTime / 0x10000;
+ return autoCloseTime / IN_MILISECONDS; // prior to 3.0.3, conversion was / 0x10000;
}
uint32 GetLootId() const