mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Get the QUAKED text for nullclass right.
? is not a character that's lexed out by the script class. This fixes the segfault when loading a map when no entities are defined (ie, the mod's source code could not be found for QUAKED).
This commit is contained in:
parent
70783e4bd5
commit
232c67640c
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ id entity_classes_i;
|
||||||
entity_classes_i = self;
|
entity_classes_i = self;
|
||||||
|
|
||||||
nullclass = [[EntityClass alloc]
|
nullclass = [[EntityClass alloc]
|
||||||
initFromText: "/*QUAKED UNKNOWN_CLASS (0 0.5 0) ?*/"
|
initFromText: "/*QUAKED UNKNOWN_CLASS (0 0.5 0) ? */"
|
||||||
source: va ("%s:%d", __FILE__, __LINE__ - 1)];
|
source: va ("%s:%d", __FILE__, __LINE__ - 1)];
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
|
|
Loading…
Reference in a new issue