mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-17 17:11:32 +00:00
add 'local' keyword in fields.qc, it's for qcc standard anyway
This commit is contained in:
parent
267bb7d41e
commit
efc540ceba
1 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,6 @@ void(entity) kill = #4;
|
|||
.void() fun;
|
||||
|
||||
void(entity a, .float f) printfield = {
|
||||
ftos(3+4);
|
||||
print3("The field is ", ftos(a.f), "\n");
|
||||
};
|
||||
|
||||
|
@ -24,7 +23,7 @@ void() funny = {
|
|||
};
|
||||
|
||||
void() main = {
|
||||
entity pawn;
|
||||
local entity pawn;
|
||||
|
||||
pawn = spawn();
|
||||
|
||||
|
|
Loading…
Reference in a new issue