From: Jaka K. <lyn...@us...> - 2011-06-28 16:25:37
|
gemrb: Infinity Engine emulator The branch master has been updated via 7b4e763c6fd53d46ab6f5a63ed17735b73ea6b0a (commit) Summary of changes: gemrb/core/GameScript/GSUtils.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) from 7e18553d4ea77f1c9b93401f82bf97b11f456f30 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=7b4e763c6fd53d46ab6f5a63ed17735b73ea6b0a commit 7b4e763c6fd53d46ab6f5a63ed17735b73ea6b0a Author: Jaka Kranjc <lyn...@us...> Date: Tue Jun 28 18:24:44 2011 +0200 GetSpellDistance: increase the conversion constant so you can cast fireball without burning yourself diff --git a/gemrb/core/GameScript/GSUtils.cpp b/gemrb/core/GameScript/GSUtils.cpp index 26fa7fc..8090817 100644 --- a/gemrb/core/GameScript/GSUtils.cpp +++ b/gemrb/core/GameScript/GSUtils.cpp @@ -2161,7 +2161,7 @@ unsigned int GetSpellDistance(const ieResRef spellres, Scriptable *Sender) } gamedata->FreeSpell(spl, spellres, false); - return dist*5; //FIXME: this empirical constant shouldn't be needed! + return dist*8; //FIXME: empirical constant to convert from points to (feet) } /* returns an item's casting distance, it depends on the used header, and targeting mode too ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |