Revision 49c66c64

View differences:

src/sim/csimulation.cc
674 674
            throw cRuntimeError("Activity-Model not supported with Horizon.");
675 675
        }
676 676

  
677
		// set the context for sequential execution
678
		setContext(mod);
679
		setContextType(CTX_EVENT);
680

  
677 681
		simtime_t duration = msg->getEventDuration();
678 682
		bool sequentialExecution = (duration == SimTime::simTimeSequentialExecution);
679 683

  
......
699 703
		}
700 704
		else
701 705
		{
702
			// set the context for sequential execution
703
			setContext(mod);
704
			setContextType(CTX_EVENT);
705

  
706 706
			EVCB.simulationEvent(msg);
707 707

  
708 708
			msg->setPreviousEventNumber(event_num);

Also available in: Unified diff