From: Laszlo T. <ave...@us...> - 2012-03-20 16:42:35
|
gemrb: Infinity Engine emulator The branch master has been updated via 2143f1ce25d1fb552c2ec1f06285fa041436b897 (commit) Summary of changes: gemrb/plugins/FXOpcodes/FXOpcodes.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) from bd3a92491031cef866bdd4c97e585fb4fe34281c (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=2143f1ce25d1fb552c2ec1f06285fa041436b897 commit 2143f1ce25d1fb552c2ec1f06285fa041436b897 Author: Avenger <ave...@so...> Date: Tue Mar 20 17:41:55 2012 +0100 fixed msvc6 compilation diff --git a/gemrb/plugins/FXOpcodes/FXOpcodes.cpp b/gemrb/plugins/FXOpcodes/FXOpcodes.cpp index 1ae4a5b..966ed1c 100644 --- a/gemrb/plugins/FXOpcodes/FXOpcodes.cpp +++ b/gemrb/plugins/FXOpcodes/FXOpcodes.cpp @@ -6925,6 +6925,7 @@ int fx_protection_from_turn (Scriptable* /*Owner*/, Actor* target, Effect* fx) //runs a predetermined script in cutscene mode int fx_cutscene2 (Scriptable* /*Owner*/, Actor* /*target*/, Effect* fx) { + int i; Game *game; ieResRef resref; @@ -6936,7 +6937,7 @@ int fx_cutscene2 (Scriptable* /*Owner*/, Actor* /*target*/, Effect* fx) switch(fx->Parameter1) { case 1: //simple party locations game->ClearSavedLocations(); - for (int i = 0; i < game->GetPartySize(false); i++) { + for (i = 0; i < game->GetPartySize(false); i++) { Actor* act = game->GetPC( i, false ); GAMLocationEntry *gle = game->GetSavedLocationEntry(i); if (act && gle) { @@ -6949,7 +6950,7 @@ int fx_cutscene2 (Scriptable* /*Owner*/, Actor* /*target*/, Effect* fx) break; default://original plane locations game->ClearPlaneLocations(); - for (int i = 0; i < game->GetPartySize(false); i++) { + for (i = 0; i < game->GetPartySize(false); i++) { Actor* act = game->GetPC( i, false ); GAMLocationEntry *gle = game->GetPlaneLocationEntry(i); if (act && gle) { ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |