mirror of
https://github.com/blendogames/thirtyflightsofloving.git
synced 2025-02-22 11:41:02 +00:00
Added entity class IDs for misc_actor and target_actor in default Lazarus DLL.
Restored updated GPL header in game/g_local.h.
This commit is contained in:
parent
d16b46e3cf
commit
e7db654934
2 changed files with 15 additions and 11 deletions
|
@ -1,22 +1,24 @@
|
|||
/*
|
||||
===========================================================================
|
||||
Copyright (C) 1997-2001 Id Software, Inc.
|
||||
Copyright (C) 2000-2002 Mr. Hyde and Mad Dog
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
This file is part of Lazarus Quake 2 Mod source code.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
Lazarus Quake 2 Mod source code is free software; you can redistribute it
|
||||
and/or modify it under the terms of the GNU General Public License as
|
||||
published by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
See the GNU General Public License for more details.
|
||||
Lazarus Quake 2 Mod source code is distributed in the hope that it will be
|
||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
along with Lazarus Quake 2 Mod source code; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
===========================================================================
|
||||
*/
|
||||
|
||||
// g_local.h -- local definitions for game module
|
||||
|
|
|
@ -1273,6 +1273,7 @@ void SP_misc_actor (edict_t *self)
|
|||
return;
|
||||
}
|
||||
|
||||
self->class_id = ENTITY_MISC_ACTOR;
|
||||
self->movetype = MOVETYPE_STEP;
|
||||
self->solid = SOLID_BBOX;
|
||||
|
||||
|
@ -1729,6 +1730,7 @@ void SP_target_actor (edict_t *self)
|
|||
G_FreeEdict(self);
|
||||
return;
|
||||
}
|
||||
self->class_id = ENTITY_TARGET_ACTOR;
|
||||
|
||||
if (!self->targetname)
|
||||
gi.dprintf ("%s with no targetname at %s\n", self->classname, vtos(self->s.origin));
|
||||
|
|
Loading…
Reference in a new issue