[Scummvm-cvs-logs] SF.net SVN: scummvm: [29623] scummvm/trunk/engines/lure/hotspots.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sat Nov 24 10:47:19 CET 2007
Revision: 29623
http://scummvm.svn.sourceforge.net/scummvm/?rev=29623&view=rev
Author: dreammaster
Date: 2007-11-24 01:47:19 -0800 (Sat, 24 Nov 2007)
Log Message:
-----------
Fixed call to create puzzled/exclamation voice bubbles
Modified Paths:
--------------
scummvm/trunk/engines/lure/hotspots.cpp
Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp 2007-11-24 00:47:29 UTC (rev 29622)
+++ scummvm/trunk/engines/lure/hotspots.cpp 2007-11-24 09:47:19 UTC (rev 29623)
@@ -159,7 +159,7 @@
_destHotspotId = character->hotspotId();
_tickHandler = HotspotTickHandlers::getHandler(PUZZLED_TICK_PROC_ID);
- setAnimation(VOICE_ANIM_INDEX);
+ setAnimationIndex(VOICE_ANIM_INDEX);
setFrameNumber(objType == PUZZLED_ANIM_IDX ? 1 : 2);
character->setFrameCtr(_voiceCtr);
@@ -517,8 +517,10 @@
//Room::getReference().setCursorState(CS_NONE); **DEBUG**
room.setCursorState((CursorState) ((int) room.cursorState() & 2));
- if (_currentActions.top().hasSupportData())
- _currentActions.top().setSupportData(_currentActions.top().supportData().next());
+ if (_currentActions.top().hasSupportData()) {
+ CharacterScheduleEntry *rec = _currentActions.top().supportData().next();
+ _currentActions.top().setSupportData(rec);
+ }
}
void Hotspot::setDirection(Direction dir) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list