adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[adonthell-wastesedge-commits] Release_0-3-1 4c2c7ff 214/237: Finished e


From: Kai Sterker
Subject: [adonthell-wastesedge-commits] Release_0-3-1 4c2c7ff 214/237: Finished entrance for veranda effect.
Date: Mon, 25 Jul 2016 18:15:14 +0000 (UTC)

tag: Release_0-3-1
commit 4c2c7ffe894797e598b8a518928ccd1ffa03db23
Author: adondev <adondev>
Commit: adondev <adondev>

    Finished entrance for veranda effect.
---
 gfx/mapobjects/houses/redwyne-inn/entrance.mobj     |  Bin 2994 -> 2998 bytes
 scripts/schedules/mapcharacters/keyboard_control.py |    3 ++-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/gfx/mapobjects/houses/redwyne-inn/entrance.mobj 
b/gfx/mapobjects/houses/redwyne-inn/entrance.mobj
index 97a7324..d4dbd78 100755
Binary files a/gfx/mapobjects/houses/redwyne-inn/entrance.mobj and 
b/gfx/mapobjects/houses/redwyne-inn/entrance.mobj differ
diff --git a/scripts/schedules/mapcharacters/keyboard_control.py 
b/scripts/schedules/mapcharacters/keyboard_control.py
index 9d6f16b..f08f42a 100755
--- a/scripts/schedules/mapcharacters/keyboard_control.py
+++ b/scripts/schedules/mapcharacters/keyboard_control.py
@@ -70,7 +70,8 @@ class keyboard_control:
         self.wnd = None
     
     def on_draw (self, mychar):
-        if mychar.posx () >= 17 and mychar.posx () <= 19:
+        if mychar.submap () == 0 and mychar.posx () >= 17 and mychar.posx () 
<= 19 \
+        and mychar.posy () == 12:
             view = adonthell.gamedata_engine ().get_mapview ()
             
             x = (mychar.posx () - view.posx () - mychar.base_x ()) * 20 \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]