All pastes #480833 Raw Edit

Something

public c v1 · immutable
·published 2007-05-10 13:36 UTC
rendered paste body
Index: src/client/cl_aircraft.c===================================================================--- src/client/cl_aircraft.c    (Revision 8347)+++ src/client/cl_aircraft.c    (Arbeitskopie)@@ -1253,7 +1253,7 @@         if (!AIR_AircraftHasEnoughFuel(aircraft, mission->realPos))                return qfalse;-+        MAP_MapCalcLine(aircraft->pos, mission->realPos, &(aircraft->route));        aircraft->status = AIR_MISSION;        aircraft->time = 0;@@ -1465,12 +1465,7 @@                                air_samp->type = AIRCRAFT_INTERCEPTOR;                        else if (!Q_strncmp(token, "ufo", 3))                                air_samp->type = AIRCRAFT_UFO;-               } else if (!vp->string) {-                       Com_Printf("AIR_ParseAircraft: unknown token \"%s\" ignored (aircraft %s)\n", token, name);-                       COM_EParse(text, errhead, name);-               }--               if (vp->string && !Q_strncmp(token, "ufotype", 7)) {+               } else if (!Q_strncmp(token, "ufotype", 7)) {                        token = COM_EParse(text, errhead, name);                        if (!*text)                                return;@@ -1480,6 +1475,9 @@                                air_samp->ufotype = UFO_FIGHTER;                        else if (!Q_strncmp(token, "harvester", 9))                                air_samp->ufotype = UFO_HARVESTER;+               } else if (!vp->string) {+                       Com_Printf("AIR_ParseAircraft: unknown token \"%s\" ignored (aircraft %s)\n", token, name);+                       COM_EParse(text, errhead, name);                }        } while (*text); }