mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-05-01 01:00:03 -04:00
scripts: resolve 917 instances of -Wunused-variable
scripts/LEVEL0.cpp:1036:27: warning: unused variable "event_data" [-Wunused-variable] and a lot more.
This commit is contained in:
@@ -718,8 +718,6 @@ int16_t LevelScript_0000::CallEvent(int event, tOSIRISEventInfo *data) {
|
||||
dfRestore(event_data->fileptr);
|
||||
} break;
|
||||
case EVT_INTERVAL: {
|
||||
tOSIRISEVTINTERVAL *event_data = &data->evt_interval;
|
||||
|
||||
// Script 011: AreasVisited
|
||||
if ((ScriptActionCtr_011 < 1) && (qUserVarValueInt(4) == 3)) {
|
||||
aGoalCompleted(Goal_indexes[3], 1);
|
||||
@@ -751,8 +749,6 @@ int16_t LevelScript_0000::CallEvent(int event, tOSIRISEventInfo *data) {
|
||||
}
|
||||
} break;
|
||||
case EVT_LEVELSTART: {
|
||||
tOSIRISEVTLEVELSTART *event_data = &data->evt_levelstart;
|
||||
|
||||
ClearGlobalActionCtrs();
|
||||
dfInit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user