mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-17 08:50:29 +02:00
Added more scripting functions.
This commit is contained in:
@@ -420,16 +420,17 @@ bool Start_Scenario(char * name, bool briefing)
|
||||
return(true);
|
||||
}
|
||||
|
||||
void Scenario_PlayMapStart(void) {
|
||||
void Scenario_MapScriptFrame(void) {
|
||||
if (!mapScript)
|
||||
return;
|
||||
|
||||
if (!mapScriptPlayStart)
|
||||
if (mapScriptPlayStart) {
|
||||
mapScript->CallFunction("map_start");
|
||||
mapScriptPlayStart = false;
|
||||
return;
|
||||
}
|
||||
|
||||
mapScript->CallFunction("map_start");
|
||||
|
||||
mapScriptPlayStart = false;
|
||||
mapScript->CallFunction("map_frame");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user