diff options
author | Walter van Niftrik | 2009-03-24 21:18:06 +0000 |
---|---|---|
committer | Walter van Niftrik | 2009-03-24 21:18:06 +0000 |
commit | b85b6929bdd7c238a58ca0ab1ad0158e457d949e (patch) | |
tree | 12b49511608892cb68f61a726fb873a27c067b80 /engines/sci/engine | |
parent | e8b38af014a2a3da6251e0e7b11637795a05f4d8 (diff) | |
download | scummvm-rg350-b85b6929bdd7c238a58ca0ab1ad0158e457d949e.tar.gz scummvm-rg350-b85b6929bdd7c238a58ca0ab1ad0158e457d949e.tar.bz2 scummvm-rg350-b85b6929bdd7c238a58ca0ab1ad0158e457d949e.zip |
SCI: build fix.
svn-id: r39675
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kpathing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp index 613252bc4d..8f6053b7f1 100644 --- a/engines/sci/engine/kpathing.cpp +++ b/engines/sci/engine/kpathing.cpp @@ -1194,7 +1194,7 @@ static Polygon *convert_polygon(EngineState *s, reg_t polygon) { // WORKAROUND: broken polygon in LSL1VGA, room 350, after opening elevator // Polygon has 17 points but size is set to 19 - if ((strcmp(s->game_name, "LSL1") == 0)) { + if (s->_gameName == "LSL1") { // FIXME: implement function to get current room number if ((KP_UINT(s->script_000->locals_block->locals[13]) == 350) && (size == 19) && (read_point(list, is_reg_t, 18) == Common::Point(108, 137))) { |