mirror of
https://github.com/stevenhowes/CTheEscape.git
synced 2026-05-26 15:53:29 +01:00
Allow event actions to change overlay tiles
This commit is contained in:
@@ -670,6 +670,8 @@ void game2_triggerevent(int id)
|
||||
ScheduledEvents[scheduleid].Event = EventActions[i].ActionValue;
|
||||
ScheduledEvents[scheduleid].Ticks = tick + EventActions[i].ActionTarget;
|
||||
}
|
||||
else if(EventActions[i].Action == 5) // Change overlay tile sprite
|
||||
fullmap[EventActions[i].ActionTarget + 10000] = EventActions[i].ActionValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user