From: Tom <rtp...@us...> - 2012-01-29 02:55:03
|
gemrb: Infinity Engine emulator The branch master has been updated via 23d7e8f0823b86a10023b80ed446e4f1913b28a0 (commit) Summary of changes: gemrb/core/Game.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) from 7ee714a2678990fb23296b7bc443b84c529b6edb (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=23d7e8f0823b86a10023b80ed446e4f1913b28a0 commit 23d7e8f0823b86a10023b80ed446e4f1913b28a0 Author: Tom Prince <tom...@ua...> Date: Sat Jan 28 21:54:28 2012 -0500 Fix typo in npclevel.2da loading. diff --git a/gemrb/core/Game.cpp b/gemrb/core/Game.cpp index c9ade37..aacd0b4 100644 --- a/gemrb/core/Game.cpp +++ b/gemrb/core/Game.cpp @@ -116,10 +116,10 @@ Game::Game(void) : Scriptable( ST_GLOBAL ) char *ref = new char[9]; if (j == -1) { strncpy(ref, table->GetRowName(i), sizeof(ieResRef)); - npclevels[i].push_back (ref); + npclevels[i][j+1] = ref; } else { strncpy(ref, table->QueryField(i, j), sizeof(ieResRef)); - npclevels[i].push_back (ref); + npclevels[i][j+1] = ref; } } } ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |