Allow event actions to change overlay tiles

This commit is contained in:
stevenhowes
2021-06-26 20:02:26 +01:00
parent f6acae8ecb
commit 9b2df42794
5 changed files with 27 additions and 14 deletions
+2
View File
@@ -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;
}
}
}