From: Laszlo T. <ave...@us...> - 2010-07-31 22:06:12
|
gemrb: Infinity Engine emulator The branch master has been updated via 85131dc2b8eb74dac1f0be591c26b62b25d76135 (commit) Summary of changes: gemrb/core/Scriptable/Actor.cpp | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) from 021e0438bda1a89270e58142cdcba16399674b8a (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=85131dc2b8eb74dac1f0be591c26b62b25d76135 commit 85131dc2b8eb74dac1f0be591c26b62b25d76135 Author: Avenger <ave...@so...> Date: Sun Aug 1 00:05:27 2010 +0200 fix (ignore) weird ! character in csound.2da diff --git a/gemrb/core/Scriptable/Actor.cpp b/gemrb/core/Scriptable/Actor.cpp index 9434a33..b7f0d78 100644 --- a/gemrb/core/Scriptable/Actor.cpp +++ b/gemrb/core/Scriptable/Actor.cpp @@ -1466,8 +1466,11 @@ static void InitActorTables() if (tm) { for(i=0;i<VCONST_COUNT;i++) { const char *tmp = tm->QueryField( i, 0 ); - if (tmp[0]!='*') { - csound[i]=tmp[0]; + switch(tmp[0]) { + case '*': break; + //I have no idea what this ! mean + case '!': csound[i]=tmp[1]; break; + default: csound[i]=tmp[0]; break; } } } ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |